public class StringEncrypter extends Object
Constructor and Description |
---|
StringEncrypter(SecretKey key,
String algorithm)
Constructor used to create this object.
|
StringEncrypter(String passPhrase)
Constructor used to create this object.
|
public StringEncrypter(SecretKey key, String algorithm)
key
- Secret Key used to initialize both the encrypter and decrypter instances.algorithm
- Which algorithm to use for creating the encrypter and decrypter instances.public StringEncrypter(String passPhrase)
passPhrase
- Pass Phrase used to initialize both the encrypter and decrypter instances.Copyright © 2015. All rights reserved.