public class SimpleDecryptor extends Object implements de.alpharogroup.crypto.api.StringDecryptor, de.alpharogroup.crypto.api.Cryptor
SimpleDecryptor is a simple StringDecryptor implementation.| Constructor and Description |
|---|
SimpleDecryptor(String privateKey)
Instantiates a new
SimpleDecryptor with the given private key. |
public SimpleDecryptor(String privateKey)
SimpleDecryptor with the given private key.privateKey - The private key.public String decrypt(String encypted) throws IllegalBlockSizeException, BadPaddingException, UnsupportedEncodingException, InvalidKeyException, NoSuchAlgorithmException, InvalidKeySpecException, NoSuchPaddingException, InvalidAlgorithmParameterException
decrypt in interface de.alpharogroup.crypto.api.Decryptor<String,String>IllegalBlockSizeExceptionBadPaddingExceptionUnsupportedEncodingExceptionInvalidKeyExceptionNoSuchAlgorithmExceptionInvalidKeySpecExceptionNoSuchPaddingExceptionInvalidAlgorithmParameterExceptionpublic int newOperationMode()
newOperationMode in interface de.alpharogroup.crypto.api.CryptorCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.