-
-
Notifications
You must be signed in to change notification settings - Fork 3
qaes.1
qaes - qmail/IndiMail AES Encryption/Decryption Utility
qaes -k key [ -i -d -e -s salt ]
qaes reads strings on stdin and encrypts or decrypts them using AES. The encrypted output is base64 encoded. For decryption, qaes expects the string to be base64 encoded. qaes uses 256-bit symmetric key
The Advanced Encryption Standard (AES) is a specification for the encryption of electronic data established by the U.S. National Institute of Standards and Technology (NIST) in 2001. It is based on the Rijndael cipher developed by two Belgian cryptographers, Joan Daemen and Vincent Rijmen, who submitted a proposal to NIST during the AES selection process. Rijndael is a family of ciphers with different key and block sizes. For AES, NIST selected three members of the Rijndael family, each with a block size of 128 bits, but three different key lengths: 128, 192 and 256 bits.
-k key
Argument is a key to use for encryption. The same key needs to be
supplied to decrypt a previous encrypted data
-s salt
salt to use for encryption. The default salt is 12345
-i
When encoding, ignore line terminating newline character.
-d
Decrypt input data
-e
Encrypt input data. This is the default
base64(1)