crypto

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileMd5

func FileMd5(filename string) (fileMd5 string, err error)

FileMd5 获取文件md5值

func FileSha1

func FileSha1(filename string) (fileSha1 string, err error)

FileSha1 获取文件sha1值

func Md5

func Md5(content string) string

Md5 信息摘要

func Sha256

func Sha256(content []byte) ([]byte, error)

Sha256 sha256信息摘要

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