algorithm

package
v1.0.58 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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