Tribune

Home » Liferay Portal » English » x. Miscellaneous

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Jostein Baustad
What salt is used with SHA-256 password encryption?
11 aprile 2012 21.11
Risposta

Jostein Baustad

Punteggio: New Member

Messaggi: 1

Data di Iscrizione: 11 aprile 2012

Messaggi recenti

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
Hitoshi Ozawa
RE: What salt is used with SHA-256 password encryption?
14 aprile 2012 2.41
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 8000

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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/