util

package
v0.0.0-...-2130a7a Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(crypted, key []byte) ([]byte, error)

func AesEncrypt

func AesEncrypt(origData, key []byte) ([]byte, error)

func MD5

func MD5(raw string) string

func PKCS5Padding

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

func PKCS5UnPadding

func PKCS5UnPadding(plantText []byte) []byte

func Sha1

func Sha1(s string) string

func Sha256

func Sha256(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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