aesutil

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

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PKCS5Padding

func PKCS5Padding(src []byte, blockSize int) []byte

func PKCS5UnPadding

func PKCS5UnPadding(src []byte) []byte

Types

type AESCBCCrypto

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

func NewAESCBCCrypto

func NewAESCBCCrypto(key, nonce string) *AESCBCCrypto

func (*AESCBCCrypto) Decrypt

func (c *AESCBCCrypto) Decrypt(v string) (string, error)

func (*AESCBCCrypto) Encrypt

func (c *AESCBCCrypto) Encrypt(v string) (string, error)

Jump to

Keyboard shortcuts

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