Documentation ¶
Index ¶
- func Decrypt(ciphertext []byte, key []byte) ([]byte, error)
- func DecryptWithPassword(ciphertext []byte, password string, salt []byte) (string, error)
- func DeriveKey(password string, salt []byte) []byte
- func Encrypt(plaintext []byte, key []byte) ([]byte, error)
- func EncryptWithPassword(plaintext string, password string, salt []byte) ([]byte, error)
- func GenerateSalt() ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptWithPassword ¶
func EncryptWithPassword ¶
func GenerateSalt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.