Documentation ¶
Index ¶
- func ChaChaDecryptBase64String(key string, encrypted string) (result string)
- func ChaChaDecryptBytes(key string, encrypted_bytes []byte) (result []byte)
- func ChaChaDecryptFile(key string, file_path string) error
- func ChaChaEncryptBytes(key string, plain_text_bytes []byte) (result []byte)
- func ChaChaEncryptFile(key string, file_path string) error
- func ChaChaEncryptString(key string, plain_text string) (result string)
- func ChaChaGenerateKey(password string) (key [32]byte)
- func GenerateRandomString(byte_length int) (result string)
- func SecretBoxDecrypt(key string, encrypted string) (result string)
- func SecretBoxEncrypt(key string, plain_text string) (result string)
- func SecretBoxGenerateKey(password string) (key [32]byte)
- func SecretBoxGenerateRandomKey() (key [32]byte)
- func TestSecretBoxEncryptAndDecrypt()
- func TestSecretBoxKeyGeneration()
- func Test_ChaChaEncryptDecrypt()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChaChaDecryptBytes ¶
func ChaChaDecryptFile ¶
func ChaChaEncryptBytes ¶
func ChaChaEncryptFile ¶
func ChaChaEncryptString ¶
func ChaChaGenerateKey ¶
func GenerateRandomString ¶
func SecretBoxDecrypt ¶
func SecretBoxEncrypt ¶
func SecretBoxGenerateKey ¶
func SecretBoxGenerateRandomKey ¶
func SecretBoxGenerateRandomKey() (key [32]byte)
func TestSecretBoxEncryptAndDecrypt ¶
func TestSecretBoxEncryptAndDecrypt()
func TestSecretBoxKeyGeneration ¶
func TestSecretBoxKeyGeneration()
func Test_ChaChaEncryptDecrypt ¶
func Test_ChaChaEncryptDecrypt()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.