public class CryptoUtils extends Object
Constructor and Description |
---|
CryptoUtils() |
Modifier and Type | Method and Description |
---|---|
static SecureRandom |
newSha1SecureRandom() |
static byte[] |
readParams(DataInputStream in)
Read the decryption parameters from the DataInputStream
|
static void |
writeParams(byte[] decryptionParams,
DataOutputStream out)
Write the decryption parameters to the DataOutputStream
|
public static SecureRandom newSha1SecureRandom()
public static byte[] readParams(DataInputStream in) throws IOException
IOException
public static void writeParams(byte[] decryptionParams, DataOutputStream out) throws IOException
IOException
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.