sym

package
v0.0.0-...-c47bd17 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptAesCbc

func DecryptAesCbc(ct, key, iv []byte) []byte

func DecryptAesCtr

func DecryptAesCtr(ct, key []byte, nonce uint64) []byte

func DecryptAesEcb

func DecryptAesEcb(ct, key []byte) []byte

func EncryptAesCbc

func EncryptAesCbc(pt, key, iv []byte) []byte

func EncryptAesCtr

func EncryptAesCtr(pt, key []byte, nonce uint64) []byte

func EncryptAesEcb

func EncryptAesEcb(pt, key []byte) []byte

func PadPKCS7

func PadPKCS7(b []byte, blen int) []byte

func UnpadPKCS7

func UnpadPKCS7(b []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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