sm3

package
v1.0.31 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() hash.Hash

func Sm3Sum

func Sm3Sum(data []byte) []byte

Types

type SM3

type SM3 struct {
	// contains filtered or unexported fields
}

func (*SM3) BlockSize

func (sm3 *SM3) BlockSize() int

func (*SM3) Reset

func (sm3 *SM3) Reset()

func (*SM3) Size

func (sm3 *SM3) Size() int

func (*SM3) Sum

func (sm3 *SM3) Sum(in []byte) []byte

func (*SM3) Write

func (sm3 *SM3) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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