secreto

package
v0.0.96 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

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

func DecryptSimple added in v0.0.69

func DecryptSimple(key, data []byte) ([]byte, error)

func DeriveKey

func DeriveKey(password, salt []byte) ([]byte, []byte, error)

func Encrypt

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

func EncryptSimple added in v0.0.69

func EncryptSimple(key, data []byte) ([]byte, error)

func GenerateSimpleKey added in v0.0.69

func GenerateSimpleKey() ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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