AESClient Cipher
The AESClientCipher
class is useful for "AES"
encryption
Author
Tecknobit N7ghtm4r3
Since
2.0.2
See also
Inheritors
Constructors
Link copied to clipboard
Constructor to init AESClientCipher
constructor(ivParameterSpec: IvParameterSpec, secretKey: SecretKey, algorithm: BaseCipher.Algorithm)
Constructor to init AESClientCipher
Properties
Link copied to clipboard
AES_ALGORITHM_TYPE
is constant that memorizes algorithm type used for the cipherLink copied to clipboard
algorithm
used during the encryption and the decryption phasesLink copied to clipboard
ivParameterSpec
is instance that memorizes initialization vector used for the cipherFunctions
Link copied to clipboard
This method is used to create an initialization vector from a String object
Link copied to clipboard
This method is used to create a secret key from a String object
Link copied to clipboard
Method to decode a Base64 source
Link copied to clipboard
Method to decrypt a Base64 content
Link copied to clipboard
Method to encode in Base64 a source
Link copied to clipboard
Method to encrypt and format in Base64 any content
Link copied to clipboard
Method to get algorithm instance No-any params required
Link copied to clipboard
This method is used to get ivParameterSpec instance as String No-any params required
Link copied to clipboard
Link copied to clipboard
This method is used to get ivParameterSpec instance No-any params required
Link copied to clipboard
This method is used to get secretKey instance No-any params required
Link copied to clipboard
Method to set algorithm instance
Link copied to clipboard
This method is used to set the ivParameterSpec instance
Link copied to clipboard
This method is used to set the secretKey instance