net.y3n20u.rfc2898
クラス PrfHmacSha1

java.lang.Object
  上位を拡張 net.y3n20u.rfc2898.PrfHmacSha1
すべての実装されたインタフェース:
PseudorandomFunction

public class PrfHmacSha1
extends Object
implements PseudorandomFunction

An implementation of PseudorandomFunction. This class uses the Hmac-SHA1 algorithm.

作成者:
y3n20u@gmail.com

フィールドの概要
static int OUTPUT_LENGTH
          the length in octets of output. 20bytes (160bits)
 
コンストラクタの概要
PrfHmacSha1()
           
 
メソッドの概要
 int getLengthOfOutput()
          hLen in RFC2898
 byte[] getPseudorandomBytes(byte[] p, byte[] u)
          derive a pseudo-random value from parameters.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

OUTPUT_LENGTH

public static final int OUTPUT_LENGTH
the length in octets of output. 20bytes (160bits)

関連項目:
定数フィールド値
コンストラクタの詳細

PrfHmacSha1

public PrfHmacSha1()
メソッドの詳細

getLengthOfOutput

public int getLengthOfOutput()
インタフェース PseudorandomFunction の記述:
hLen in RFC2898

定義:
インタフェース PseudorandomFunction 内の getLengthOfOutput
戻り値:
the length in octets of this pseudorandom function.

getPseudorandomBytes

public byte[] getPseudorandomBytes(byte[] p,
                                   byte[] u)
インタフェース PseudorandomFunction の記述:
derive a pseudo-random value from parameters. the length of output equals to hLen.

定義:
インタフェース PseudorandomFunction 内の getPseudorandomBytes
パラメータ:
p - P in RFC2898. password, an octet string.
戻り値:
a pseudorandom value derived from the parameters.