Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mengzhuo/sm3
SM3密码杂凑算法
https://github.com/mengzhuo/sm3
golang sm3
Last synced: about 2 months ago
JSON representation
SM3密码杂凑算法
- Host: GitHub
- URL: https://github.com/mengzhuo/sm3
- Owner: mengzhuo
- License: bsd-2-clause
- Created: 2018-04-10T15:14:07.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-31T11:58:31.000Z (3 months ago)
- Last Synced: 2024-12-01T08:22:21.325Z (about 2 months ago)
- Topics: golang, sm3
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
sm3
=======[![Go](https://github.com/mengzhuo/sm3/actions/workflows/go.yml/badge.svg)](https://github.com/mengzhuo/sm3/actions/workflows/go.yml)
[![GoDoc](https://godoc.org/github.com/mengzhuo/sm3?status.svg)](https://godoc.org/github.com/mengzhuo/sm3)Go implement of sm3 hash algorithm
Example
--------```
h := sm3.New()
data := "The answer to the ultimate question of life, the universe and everything is 42."
io.WriteString(h, data)
fmt.Printf("%x", h.Sum(nil))
```