blind

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAESCBCConfig

func NewAESCBCConfig() config.AESConfig

Types

type AESCBCConfig

type AESCBCConfig struct {
	Key []byte
	Iv  []byte
}

func (*AESCBCConfig) Decrypt

func (c *AESCBCConfig) Decrypt(ciphertext []byte) ([]byte, error)

func (*AESCBCConfig) Encrypt

func (c *AESCBCConfig) Encrypt(plaintext []byte) ([]byte, error)

func (*AESCBCConfig) Marshall

func (c *AESCBCConfig) Marshall() ([]byte, error)

func (*AESCBCConfig) Unmarshall

func (c *AESCBCConfig) Unmarshall(data []byte) error

Jump to

Keyboard shortcuts

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