An open API service indexing awesome lists of open source software.

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

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.