Categorygithub.com/silver886/crypt
modulepackage
0.1.1
Repository: https://github.com/silver886/crypt.git
Documentation: pkg.go.dev

# Functions

NewDecrypter create a new decrypter.
NewEncrypter create a new encrypter.
PrintKeyPair in gob encoding.

# Constants

AES256GCM specifies the cipher suite AES-GCM with 256 bit keys.
CHACHA20POLY1305 specifies the cipher suite ChaCha20Poly1305 with 256 bit keys.

# Structs

Config contains configurations of crypt.
Decrypter can decrypt data with RSA private key.
Encrypter can encrypt data with RSA public key.