src/org/kocakosm/pitaya/security/KDFs.java
public static KDF pbkdf1(Algorithm<Digest> digest, int iterationCount,
		int dkLen)
	{
		return new PBKDF1(digest, iterationCount, dkLen);
	}
public static KDF pbkdf1(Algorithm<Digest> digest, int iterationCount,
		int dkLen)
	{
		return new PBKDF1(digest, iterationCount, dkLen);
	}
public static KDF pbkdf1 ( Algorithm < Digest > digest , int iterationCount , int dkLen ) { return new PBKDF1 ( digest , iterationCount , dkLen ) ; }
Creates and returns a new immutable {@code KDF} instance implementing
the PBKDF1 algorithm (RFC 2898).

@param digest the digest algorithm to use.
@param iterationCount the desired number of iterations.
@param dkLen the desired length for derived keys, in bytes.

@return the created {@code KDF} instance.

@throws NullPointerException if {@code digest} is {@code null}.
@throws IllegalArgumentException if {@code iterationCount} or
{@code dkLen} is negative, or if {@code dkLen} is greater than
the digest algorithm's output length, or if the digest algorithm
is unknown.
Creates and returns a new immutable { @code KDF } instance implementing the PBKDF1 algorithm ( RFC 2898 ) .