public class SimpleBaseEncryptor extends BaseEncryptor<Integer,Integer>
cipher| Constructor and Description |
|---|
SimpleBaseEncryptor(String privateKey) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
encrypt(Integer toEncrypt)
Encrypt the given object.
|
newOperationModenewAlgorithm, newAlgorithmParameterSpec, newCipher, newCipher, newCipher, newIterationCount, newKeySpec, newSalt, newSecretKeyFactory, onInitializepublic SimpleBaseEncryptor(String privateKey) throws InvalidKeyException, NoSuchAlgorithmException, InvalidKeySpecException, NoSuchPaddingException, InvalidAlgorithmParameterException, UnsupportedEncodingException
public Integer encrypt(Integer toEncrypt) throws Exception
GenericEncryptortoEncrypt - The object to encrypt.Exception - is thrown if encryption fails.Copyright © 2015–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.