crypt

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DesDecrypt

func DesDecrypt(data []byte, key []byte, iv []byte) ([]byte, error)

func DesEncrypt

func DesEncrypt(data []byte, key []byte, iv []byte) ([]byte, error)

DES

func PKCS5Padding

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

PKCS5Padding

func PKCSPadding

func PKCSPadding(data []byte, blockSize int) []byte

func PKCSUnPadding

func PKCSUnPadding(data []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