Versions in this module Expand all Collapse all v1 v1.1.0 Jan 25, 2023 Changes in this version + var KeyMemory = uint32(1024 * 64) + var KeySize = uint32(32) + var KeyThreads = uint8(4) + var KeyTime = uint32(5) + var MethodsAvailable = []string + var NonceSize = 24 + var SaltSize = 32 + func AESDecrypt(key, data []byte) ([]byte, error) + func AESEncrypt(key, data []byte) ([]byte, error) + func AESVerifyKey(key, data []byte) (bool, error) + func ChaCha20Decrypt(key, data []byte) ([]byte, error) + func ChaCha20Encrypt(key, data []byte) ([]byte, error) + func ChaCha20VerifyKey(key, data []byte) (bool, error) + func Decrypt(data []byte, algorithm string, key []byte) ([]byte, error) + func Encrypt(data []byte, algorithm string, key []byte) ([]byte, error) + func VerifyKey(data []byte, algorithm string, key []byte) (bool, error)