utils

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewECBDecrypter

func NewECBDecrypter(b cipher.Block) cipher.BlockMode

func NewECBEncrypter

func NewECBEncrypter(b cipher.Block) cipher.BlockMode

func Now added in v0.0.9

func Now() string

func PKCS5Padding added in v0.0.9

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

func TripleDESDecode added in v0.0.9

func TripleDESDecode(originBase64 string, key string) (result []byte)

func TripleDESEncode added in v0.0.9

func TripleDESEncode(original string, key string) (encoded string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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