dashhash

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 8 Imported by: 0

README

md5

Documentation

Overview

Package dashhash

生成各种哈希值的工具

A tool that generates various hash values

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hmac

func Hmac(str, salt string) string

Hmac @Editor robotyang at 2023

Hmac 以一个密钥和一个消息为输入,生成一个消息摘要作为输出。

func Md5

func Md5(str string) string

Md5 @Editor robotyang at 2023

func Md5ByteToStr

func Md5ByteToStr(byts []byte) string

Md5ByteToStr @Editor robotyang at 2023

func Sha1

func Sha1(str string) string

Sha1 @Editor robotyang at 2023

func Sha256

func Sha256(str string) string

Sha256 @Editor robotyang at 2023

func Sha512

func Sha512(str string) string

Sha512 @Editor robotyang at 2023

Types

This section is empty.

Jump to

Keyboard shortcuts

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