crypto

package
v0.0.0-...-e55bee7 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptWithAesKey

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

DecryptWithAesKey decrypts data using AES key

func EncryptWithAesKey

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

EncryptWithAesKey encrypts data using AES key

func NewAesKeyFromPassphrase

func NewAesKeyFromPassphrase(passphrase []byte) ([]byte, error)

NewAesKeyFromPassphrase generates new AES key deterministically using input key

Types

This section is empty.

Jump to

Keyboard shortcuts

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