encryptedstring

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncryptedString

type EncryptedString struct {
	IV   []byte
	Data []byte
	Hmac []byte
	Key  symmetrickey.Key
}

func New

func New(iv, data, hmac []byte, key symmetrickey.Key) EncryptedString

func NewFromEncryptedValue

func NewFromEncryptedValue(encryptedValue string) (*EncryptedString, error)

func (*EncryptedString) String

func (encString *EncryptedString) String() string

Jump to

Keyboard shortcuts

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