AESServer Cipher
The AESServerCipher
class is useful for server side applications for "AES"
's encryption or decryption
Author
Tecknobit N7ghtm4r3
Since
2.0.2
See also
Constructors
Link copied to clipboard
constructor(ivParameterSpec: IvParameterSpec, secretKey: SecretKey, algorithm: BaseCipher.Algorithm)
Constructor to init AESServerCipher
Constructor to init AESServerCipher
Types
Link copied to clipboard
enum AESKeySize
AESKeySize
list of available key sizesProperties
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 No-any params required
Link copied to clipboard
This method is used to create a secret key
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 an initialization vector No-any params required
Link copied to clipboard
This method is used to create a secret key from a String object
This method is used to create a secret key
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