enc

package
v0.0.0-...-7107581 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(ciphertext string, iv []byte) (string, error)

func DeriveKey

func DeriveKey(passphrase string, salt []byte) []byte

func Encrypt

func Encrypt(plaintext string, iv []byte) (string, error)

func GenerateIv

func GenerateIv() []byte

func GenerateSalt

func GenerateSalt() []byte

func GetKey

func GetKey() []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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