blowfish

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 5 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cipher

type Cipher struct{}

Cipher represents blowfish cipher

func (*Cipher) Decrypt

func (b *Cipher) Decrypt(ctx context.Context, key *kms.Key, data []byte) ([]byte, error)

Decrypt decrypts data with supplied key

func (*Cipher) Encrypt

func (b *Cipher) Encrypt(ctx context.Context, key *kms.Key, data []byte) ([]byte, error)

Encrypt encrypts data with supplied key

Jump to

Keyboard shortcuts

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