https://github.com/pedroalbanese/aescrypt
NIST SP800-38D AES-GCM Encryption Tool
https://github.com/pedroalbanese/aescrypt
aes-256 aes-encryption gcm
Last synced: 5 months ago
JSON representation
NIST SP800-38D AES-GCM Encryption Tool
- Host: GitHub
- URL: https://github.com/pedroalbanese/aescrypt
- Owner: pedroalbanese
- License: isc
- Created: 2021-10-28T00:21:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-04T18:03:29.000Z (almost 3 years ago)
- Last Synced: 2025-01-04T21:19:23.530Z (6 months ago)
- Topics: aes-256, aes-encryption, gcm
- Language: Go
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# AESCrypt
[](https://github.com/pedroalbanese/aescrypt/blob/master/LICENSE.md)
[](https://github.com/pedroalbanese/aescrypt/releases)
[](http://godoc.org/github.com/pedroalbanese/aescrypt)
[](https://goreportcard.com/report/github.com/pedroalbanese/aescrypt)
[](https://golang.org)
[](https://github.com/pedroalbanese/aescrypt/releases)Rijndael, Serpent, RC6 and Twofish with Galois/Counter Mode (AES-GCM) provides both authenticated encryption (confidentiality and authentication) and the ability to check the integrity and authentication of additional authenticated data (AAD) that is sent in the clear. AES-GCM is specified in NIST Special Publication 800-38D ([SP800-38D](https://csrc.nist.gov/publications/detail/sp/800-38d/final)).
### Command-line AES-GCM Encryption ToolUsage of aescrypt:
aescrypt [-d] [-b N] -p "pass" [-i N] [-s "salt"] -f <file.ext>
-a string
Additional authenticated data.
-b int
Key length: 128, 192 or 256. (default 256)
-c string
Cipher: AES, RC6, Twofish or Serpent. (default "aes")
-d Decrypt instead of Encrypt.
-f string
Target file. ('-' for STDIN)
-i int
Iterations. (for PBKDF2) (default 1024)
-k string
Symmetric key to Encrypt/Decrypt.
-m Cipher-based message authentication code.
-p string
Password-based key derivation function 2.
-r Generate random cryptographic key with given bit-length.
-s string
Salt. (for PBKDF2)### Example of encryption/decryption:
```sh
./aescrypt -k "" -f plaintext.ext > ciphertext.ext
./aescrypt -d -k $256bitkey -f ciphertext.ext > plaintext.ext
```## License
This project is licensed under the ISC License.
##### Industrial-Grade Reliability. Copyright (c) 2020-2021 ALBANESE Research Lab.