crypto

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

func Base64Decode(src []byte) ([]byte, error)

* * @Description: base64解密 * @param: src * @return: []byte * @return: error * @Author: Iori * @Date: 2022-06-07 18:41:24 *

func Base64DecodeStr

func Base64DecodeStr(src string) ([]byte, error)

* * @Description: base64解密 str * @param: src * @return: []byte * @return: error * @Author: Iori * @Date: 2022-06-07 18:41:24 *

func Base64Encode

func Base64Encode(src []byte) []byte

* * @Description: base64加密 * @param: src * @return: []byte * @Author: Iori * @Date: 2022-06-07 18:41:19 *

func Base64EncodeStr

func Base64EncodeStr(src []byte) string

* * @Description: base64加密 str * @param: src * @return: []byte * @Author: Iori * @Date: 2022-06-07 18:41:19 *

func Md5

func Md5(data string) string

* * @Description: 正常md5 * @param: str * @return: string * @Author: Iori *

func Md5Encode

func Md5Encode(data string) string

* * @Description: md5全小写str * @param: arg0 * @return: string * @Author: Iori *

func Md5EncodeV2

func Md5EncodeV2(data string) string

* * @Description: md5全大写str * @param: arg0 * @return: string * @Author: Iori *

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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