Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pedroalbanese/aescrypt
NIST SP800-38D AES-GCM Encryption Tool
https://github.com/pedroalbanese/aescrypt
aes-256 aes-encryption gcm
Last synced: 20 days 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 (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-04T18:03:29.000Z (over 2 years ago)
- Last Synced: 2024-11-09T15:12:01.068Z (3 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
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](https://github.com/pedroalbanese/aescrypt/blob/master/LICENSE.md)
[![GitHub downloads](https://img.shields.io/github/downloads/pedroalbanese/aescrypt/total.svg?logo=github&logoColor=white)](https://github.com/pedroalbanese/aescrypt/releases)
[![GoDoc](https://godoc.org/github.com/pedroalbanese/aescrypt?status.png)](http://godoc.org/github.com/pedroalbanese/aescrypt)
[![Go Report Card](https://goreportcard.com/badge/github.com/pedroalbanese/aescrypt)](https://goreportcard.com/report/github.com/pedroalbanese/aescrypt)
[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/pedroalbanese/aescrypt)](https://golang.org)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/pedroalbanese/aescrypt)](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.