https://github.com/wneessen/iocrypter
AES-256-CTR encryption with SHA-512 HMAC authentication as a Go io.Reader interface
https://github.com/wneessen/iocrypter
aes-256-ctr decryption encryption encryption-decryption go golang hmac-sha512
Last synced: 2 months ago
JSON representation
AES-256-CTR encryption with SHA-512 HMAC authentication as a Go io.Reader interface
- Host: GitHub
- URL: https://github.com/wneessen/iocrypter
- Owner: wneessen
- License: mit
- Created: 2025-02-05T11:57:44.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-07-22T07:28:11.000Z (3 months ago)
- Last Synced: 2025-07-22T09:40:18.429Z (3 months ago)
- Topics: aes-256-ctr, decryption, encryption, encryption-decryption, go, golang, hmac-sha512
- Language: Go
- Homepage:
- Size: 183 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iocrypter
iocrypter is a Go package that implements AES-256-CTR encryption with SHA-512 HMAC authentication
as a `io.Reader` interface. It allows the en- and decryption with authentication of arbitrary data
from any given `io.Reader`.It derives a secure key for the AES-256 encryption using Argon2ID. Encryption parameters like the
Argon2 settings, the salt and the IV are stored at the start of the ciphertext, making it convenient
for byte stream encryption.The [cmd/](cmd) directory holds two example implementations for tools that will read a file from
disk and then en- or decrypt it accordingly.## License
This project is licensed under the MIT License. See the LICENSE file for details.