public final class EncryptionKey extends Object
Constructor and Description |
---|
EncryptionKey(byte[] key)
Initializes the encryption key with a raw AES-256 key data which has 32 bytes in length.
|
EncryptionKey(String password)
Initializes the encryption key with the given password string.
|
public EncryptionKey(byte[] key)
key
- The raw AES-256 key datapublic EncryptionKey(String password)
password
- The password string.