aes

package
v0.0.0-...-6a0cb6c Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Secretkeys

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

Secretkeys var

func NewRSAKeys

func NewRSAKeys() (keys *Secretkeys)

NewRSAKeys generation

func (*Secretkeys) CBCDecrypt

func (keys *Secretkeys) CBCDecrypt(text []byte) (ciphertext []byte)

CBCDecrypt function

func (*Secretkeys) CBCEncrypt

func (keys *Secretkeys) CBCEncrypt(text []byte) (final []byte)

CBCEncrypt function

func (*Secretkeys) GetAesKey

func (keys *Secretkeys) GetAesKey() []byte

GetAesKey function

func (*Secretkeys) GetEntireKey

func (keys *Secretkeys) GetEntireKey() []byte

GetEntireKey function

Jump to

Keyboard shortcuts

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