public abstract class BaseStringEncryptor extends BaseCryptor implements StringEncryptor
BaseStringEncryptor is a base implementation of the
StringEncryptor.model| Constructor and Description |
|---|
BaseStringEncryptor(String privateKey)
Constructor with a private key.
|
newCipher, newCipher, newKeySpecnewAlgorithm, newAlgorithmParameterSpec, newCipher, newIterationCount, newSalt, newSecretKeyFactory, onInitializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitencrypt, newOperationModepublic BaseStringEncryptor(String privateKey) throws InvalidKeyException, NoSuchAlgorithmException, InvalidKeySpecException, NoSuchPaddingException, InvalidAlgorithmParameterException, UnsupportedEncodingException
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.UnsupportedEncodingException - is thrown if the named charset is not supported.Copyright © 2015–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.