algorithm

package
v1.0.39 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

func Base64Decode(str string) (string, error)

Base64Decode base64解码

func Base64Encode

func Base64Encode(str string) string

Base64Encode base64编码

func Crc32

func Crc32(str string) uint32

Crc32 crc32加密

func HmacSHA1

func HmacSHA1(s string, secret string) string

HmacSHA1 生成十六进制字符串

func HmacSHA256

func HmacSHA256(message string, secret string) string

HmacSHA256 生成十六进制字符串

func MD5

func MD5(str string) string

MD5 生成十六进制字符串

func SHA1

func SHA1(str string) string

SHA1 生成十六进制字符串

Types

This section is empty.

Jump to

Keyboard shortcuts

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