Registry / crypto / emmansun-gmsm

emmansun-gmsm

JSON →
library0.42.0gogounverified

A Go implementation of Chinese national cryptographic standards (SM2, SM3, SM4).

go get github.com/emmansun/gmsm
INSTALL
IMPORT
SIG · EMMANSUN-GMSM
E
emmansun-gmsm
cryptogov0.42.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gmsm
github.com/emmansun/gmsm

Computes an SM3 hash of a string.

package main import ( "fmt" "github.com/emmansun/gmsm/sm3" ) func main() { h := sm3.New() h.Write([]byte("test data")) sum := h.Sum(nil) fmt.Printf("SM3 hash: %x\n", sum) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.42.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Resources
emmansun-gmsm — go get emmansun-gmsm · libregistry