Registry / crypto / tjfoc-gmsm

tjfoc-gmsm

JSON →
library1.4.1gogounverified

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

go get github.com/tjfoc/gmsm
INSTALL
IMPORT
SIG · TJFOC-GMSM
T
tjfoc-gmsm
cryptogov1.4.1
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/tjfoc/gmsm

Compute SM3 hash of a string

package main import ( "fmt" "github.com/tjfoc/gmsm/sm3" ) func main() { hash := sm3.Sm3Sum([]byte("test")) fmt.Printf("%x\n", hash) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
Resources
tjfoc-gmsm — go get tjfoc-gmsm · libregistry