sm3

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package sm3 implements the SM3 hash algorithm as defined in GB/T 32918.1-2016.

SM3 is a Chinese national standard hash algorithm that produces a 256-bit hash value. It is designed to be secure and efficient for various cryptographic applications.

Index

Constants

View Source
const (
	// Size is the size of an SM3 checksum in bytes.
	Size = 32
	// BlockSize is the blocksize of SM3 in bytes.
	BlockSize = 64
)

Variables

This section is empty.

Functions

func New

func New() hash.Hash

New returns a new hash.Hash computing the SM3 checksum.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL