gmd5

package
v1.5.17 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package gmd5 provides useful API for MD5 encryption/decryption algorithms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encrypt

func Encrypt(v interface{}) string

将任意类型的变量进行md5摘要(注意map等非排序变量造成的不同结果)

func EncryptFile

func EncryptFile(path string) string

将文件内容进行MD5哈希摘要计算

func EncryptString

func EncryptString(v string) string

将字符串进行MD5哈希摘要计算

Types

This section is empty.

Jump to

Keyboard shortcuts

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