com.opensymphony.user.provider.ejb.util
Class PasswordDigester
java.lang.Object
com.opensymphony.user.provider.ejb.util.PasswordDigester
- public class PasswordDigester
- extends java.lang.Object
Password digester based on BouncyCastle's SHA1-512 implementation
- Author:
- Victor Salaman (salaman@qoretech.com)
|
Field Summary |
protected long |
H1
|
protected long |
H2
|
protected long |
H3
|
protected long |
H4
|
protected long |
H5
|
protected long |
H6
|
protected long |
H7
|
protected long |
H8
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
H1
protected long H1
H2
protected long H2
H3
protected long H3
H4
protected long H4
H5
protected long H5
H6
protected long H6
H7
protected long H7
H8
protected long H8
PasswordDigester
protected PasswordDigester()
PasswordDigester
protected PasswordDigester(PasswordDigester t)
digest
public static byte[] digest(byte[] input)
getDigestSize
public int getDigestSize()
doFinal
public int doFinal(byte[] out,
int outOff)
finish
public void finish()
reset
public void reset()
update
public void update(byte in)
update
public void update(byte[] in,
int inOff,
int len)
processBlock
protected void processBlock()
processLength
protected void processLength(long lowW,
long hiW)
processWord
protected void processWord(byte[] in,
int inOff)
unpackWord
protected void unpackWord(long word,
byte[] out,
int outOff)