goliath

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptData

func DecryptData(content string, masterPassword string) (b []byte, err error)

DecryptData decrypts the given data using AES in CBC mode with a key derived from the master password.

func EncryptData

func EncryptData(data []byte, masterPassword string) (s string, err error)

EncryptData encrypts the given data using AES in CBC mode with a key derived from the master password. It returns a byte array that contains the encrypted data, IV, salt, and HMAC tag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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