public class PGPUtil extends java.lang.Object implements HashAlgorithmTags
DOUBLE_SHA, HAVAL_5_160, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, TIGER_192
Constructor and Description |
---|
PGPUtil() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
makeRandomKey(int algorithm,
java.security.SecureRandom random) |
public static byte[] makeRandomKey(int algorithm, java.security.SecureRandom random) throws PGPException
PGPException