starcrypto/sm3.go

12 lines
176 B
Go

package starcrypto
import "b612.me/starcrypto/hashx"
func SM3(bstr []byte) []byte {
return hashx.SM3(bstr)
}
func SM3Str(bstr []byte) string {
return hashx.SM3Str(bstr)
}