掲示板

What salt is used with SHA-256 password encryption?

12年前 に Jostein Baustad によって更新されました。

What salt is used with SHA-256 password encryption?

New Member 投稿: 1 参加年月日: 12/04/12 最新の投稿
Does Liferay password encryption algorithm SHA-256 use a salt? If yes, how is the salt generated and what is the size?

passwords.encryption.algorithm=SHA-256
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: What salt is used with SHA-256 password encryption?

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Looking at the code, PwdEncryptor.encodePassword() doesn't seem to be using seed when algorithm is SHA-256.

http://grepcode.com/file/repo1.maven.org/maven2/com.liferay.portal/portal-impl/6.1.0/com/liferay/portal/security/pwd/PwdEncryptor.java/