Skip to content

liuyh73/md5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MD5

golang环境配置

首先,需要安装配置golang环境,具体步骤

下载安装md5包

go get -d github.com/liuyh73/md5

使用md5包

package main

import (
	"fmt"

	"github.com/liuyh73/md5"
)

func main() {
	fmt.Println("The quick brown fox jumps over the lazy dog: ", md5.Encrypt("The quick brown fox jumps over the lazy dog")) //9e107d9d372bb6826bd81d3542a419d6
	fmt.Println("The quick brown fox jumps over the lazy cog: ", md5.Encrypt("The quick brown fox jumps over the lazy cog")) // 1055d3e698d289f2af8663725127bd4b
	fmt.Println(": ", md5.Encrypt(""))                                                                                       // d41d8cd98f00b204e9800998ecf8427e
}

博客链接

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages