crypto

package
v0.0.0-...-9a91ec2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cryptor

type Cryptor struct {
	// contains filtered or unexported fields
}

func NewCryptor

func NewCryptor(key string) *Cryptor

func (*Cryptor) Decrypt

func (c *Cryptor) Decrypt(data string) ([]byte, error)

func (*Cryptor) DecryptFile

func (c *Cryptor) DecryptFile(inpath, outpath string) error

func (*Cryptor) Encrypt

func (c *Cryptor) Encrypt(data string) ([]byte, error)

func (*Cryptor) EncryptFile

func (c *Cryptor) EncryptFile(inpath, outpath string) error

Jump to

Keyboard shortcuts

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