hash

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

有关hash的操作

hash

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileMd5

func FileMd5(filename string) (string, error)

FileMd5 获取文件的MD5值

func StringMd5

func StringMd5(s string) string

StringMd5 获取字符串的MD5

Example
s := StringMd5("Hello")
fmt.Println(s)
Output:

8b1a9953c4611296a827abf8c47804d7

Types

This section is empty.

Jump to

Keyboard shortcuts

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