SimpleDecryptor @Deprecated public class SimpleBaseEncryptor extends BaseCryptor implements de.alpharogroup.crypto.api.IntegerEncryptor
SimpleBaseEncryptormodel| Constructor and Description |
|---|
SimpleBaseEncryptor(String privateKey)
Deprecated.
Instantiates a new
SimpleBaseEncryptor with the given private key. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
encrypt(Integer toEncrypt)
Deprecated.
|
int |
newOperationMode()
Deprecated.
|
newCipher, newCipher, newKeySpecnewAlgorithm, newAlgorithmParameterSpec, newCipher, newIterationCount, newSalt, newSecretKeyFactory, onInitializepublic SimpleBaseEncryptor(String privateKey) throws InvalidKeyException, NoSuchAlgorithmException, InvalidKeySpecException, NoSuchPaddingException, InvalidAlgorithmParameterException, UnsupportedEncodingException
SimpleBaseEncryptor with the given private key.privateKey - The private key.InvalidAlgorithmParameterException - is thrown if initialization of the cypher object fails.NoSuchPaddingException - is thrown if instantiation of the SecretKeyFactory object fails.InvalidKeySpecException - is thrown if generation of the SecretKey object fails.NoSuchAlgorithmException - is thrown if instantiation of the SecretKeyFactory object fails.InvalidKeyException - is thrown if initialization of the cypher object fails.NoSuchAlgorithmException - is thrown if instantiation of the SecretKeyFactory object fails.UnsupportedEncodingException - is thrown if the named charset is not supported.Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.