public class SimpleBaseDecryptor extends BaseCryptor implements IntegerDecryptor
SimpleBaseDecryptor.model| Constructor and Description |
|---|
SimpleBaseDecryptor(String privateKey)
Instantiates a new
SimpleBaseDecryptor with the given private key. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
decrypt(Integer encypted)
Decrypt the given encrypted object.
|
newCipher, newCipher, newKeySpecnewAlgorithm, newAlgorithmParameterSpec, newCipher, newIterationCount, newSalt, newSecretKeyFactory, onInitializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewOperationModepublic SimpleBaseDecryptor(String privateKey) throws InvalidKeyException, NoSuchAlgorithmException, InvalidKeySpecException, NoSuchPaddingException, InvalidAlgorithmParameterException, UnsupportedEncodingException
SimpleBaseDecryptor 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–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.