gocrypt

module
v0.0.0-...-f70127e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2025 License: MIT

README ¶

gocrypt

A collection of go packages for cryptography.

Installation

go get github.com/Shresht7/gocrypt

Packages

encryption

Encrypt and decrypt data using cryptographic AEAD algorithms like AES-256-GCM and XChaCha20-Poly1305.

hash

Hash data using cryptographic hashing functions like SHA-256, SHA-512 and HMAC-SHA-512-256.

hmac

Hash-based Message Authentication Code using HMAC-SHA-512-256.

key

Password-based Key Derivation Functions using bcrypt, scrypt and argon2id.

stream

Encrypt and decrypt data streams using stream-ciphers.

utils

The utils package contains miscellaneous helper functions to generate a byte-slice of random bytes, generate random string, and encode/decode byte slices.

📑 License

MIT License

Directories ¶

Path Synopsis
encryption
aes_256_gcm
Provides symmetric authenticated encryption using AES-GCM-256 AEAD
Provides symmetric authenticated encryption using AES-GCM-256 AEAD
xchacha20ploy1305
Provides symmetric authenticated encryption using XChaCha20-Poly1305 AEAD
Provides symmetric authenticated encryption using XChaCha20-Poly1305 AEAD
key

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL