_2skd

package
v0.0.0-...-8bf613e Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypter

func Decrypter(password, ciphertext, secretKey []byte) ([]byte, error)

func Encrypter

func Encrypter(password, plain, secretKey []byte) (ciphertext []byte, err error)

func GenSecretKey

func GenSecretKey(keyLen int) ([]byte, error)

GenSecretKey generates secret key to be store at client side

Types

This section is empty.

Jump to

Keyboard shortcuts

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