01: package org.bouncycastle.crypto.generators;
02:
03: import org.bouncycastle.crypto.Digest;
04:
05: /**
06: * KFD2 generator for derived keys and ivs as defined by IEEE P1363a/ISO 18033
07: * <br>
08: * This implementation is based on IEEE P1363/ISO 18033.
09: */
10: public class KDF2BytesGenerator extends BaseKDFBytesGenerator {
11: /**
12: * Construct a KDF2 bytes generator. Generates key material
13: * according to IEEE P1363 or ISO 18033 depending on the initialisation.
14: * <p>
15: * @param digest the digest to be used as the source of derived keys.
16: */
17: public KDF2BytesGenerator(Digest digest) {
18: super (1, digest);
19: }
20: }
|