scee

package
v0.0.0-...-1ee669f Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const AlgorithmKeySize int = 16
View Source
const AlgorithmNonceSize int = 12
View Source
const PBKDF2Iterations int = 32767
View Source
const PBKDF2SaltSize int = 16

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(ciphertextAndNonce, key []byte) ([]byte, error)

func DecryptString

func DecryptString(base64CiphertextAndNonceAndSalt, password string) (string, error)

func Encrypt

func Encrypt(plaintext, key []byte) ([]byte, error)

func EncryptString

func EncryptString(plaintext, password string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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