crypto

package module
v0.0.0-...-aa9bfa2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: MIT Imports: 7 Imported by: 0

README

crypto

A FAIRE.

Licence

MIT.


Copyright (c) 2021 mls-361.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crypto

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

Crypto AFAIRE.

func New

func New() *Crypto

New AFAIRE.

func (*Crypto) Decrypt

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

Decrypt AFAIRE.

func (*Crypto) DecryptString

func (c *Crypto) DecryptString(text string) (string, error)

DecryptString AFAIRE.

func (*Crypto) Encrypt

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

Encrypt AFAIRE.

func (*Crypto) EncryptString

func (c *Crypto) EncryptString(text string) (string, error)

EncryptString AFAIRE.

func (*Crypto) SetKey

func (c *Crypto) SetKey(key string) error

SetKey AFAIRE.

Jump to

Keyboard shortcuts

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