net.y3n20u.rfc2898
インタフェース PseudorandomFunction

既知の実装クラスの一覧:
PrfHmacSha1

public interface PseudorandomFunction

An interface for underlying pseudo-random function used in Pbkdf2.

作成者:
y3n20u@gmail.com

メソッドの概要
 int getLengthOfOutput()
          hLen in RFC2898
 byte[] getPseudorandomBytes(byte[] p, byte[] u)
          derive a pseudo-random value from parameters.
 

メソッドの詳細

getLengthOfOutput

int getLengthOfOutput()
hLen in RFC2898

戻り値:
the length in octets of this pseudorandom function.

getPseudorandomBytes

byte[] getPseudorandomBytes(byte[] p,
                            byte[] u)
derive a pseudo-random value from parameters. the length of output equals to hLen.

パラメータ:
p - P in RFC2898. password, an octet string.
u -
戻り値:
a pseudorandom value derived from the parameters.