Categorygithub.com/mars9/crypt
modulepackage
0.0.0-20150406101210-65899cf653ff
Repository: https://github.com/mars9/crypt.git
Documentation: pkg.go.dev

# README

crypt

Package crypt provides password-based encryption and decryption of data streams.

# Packages

No description provided by the author

# Functions

NewPbkdf2Key returns the key derivation function PBKDF2 as defined in RFC 2898.
NewScryptKey returns the scrypt key derivation function as defined in Colin Percival's paper "Stronger Key Derivation via Sequential Memory-Hard Functions".

# Structs

Crypter encrypt/decrypts with AES (Rijndael) in cipher block counter mode (CTR) and authenticate with HMAC-SHA.

# Interfaces

Key defines the key derivation function interface.