extra

package
v0.0.0-...-55de54f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CBCDecrypt

func CBCDecrypt(cipherText, key, iv []byte, triple bool) ([]byte, error)

func CBCEncrypt

func CBCEncrypt(originText, key, iv []byte, triple bool) ([]byte, error)

func CFBDecrypt

func CFBDecrypt(cipherText, key, iv []byte, triple bool) ([]byte, error)

func CFBEncrypt

func CFBEncrypt(originText, key, iv []byte, triple bool) ([]byte, error)

func CTRDecrypt

func CTRDecrypt(cipherText, key, iv []byte, triple bool) ([]byte, error)

func CTREncrypt

func CTREncrypt(originText, key, iv []byte, triple bool) ([]byte, error)

func OFBDecrypt

func OFBDecrypt(cipherText, key, iv []byte, triple bool) ([]byte, error)

func OFBDecryptStreamWriter

func OFBDecryptStreamWriter(cipherText, key, iv []byte, triple bool) ([]byte, error)

func OFBEncrypt

func OFBEncrypt(originText, key, iv []byte, triple bool) ([]byte, error)

func OFBEncryptStreamReader

func OFBEncryptStreamReader(originText, key, iv []byte, triple bool) ([]byte, error)

func PKCS5Padding

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

func PKCS5UnPadding

func PKCS5UnPadding(originText []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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