sm4

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 8 Imported by: 17

Documentation

Overview

+build amd64

Index

Constants

View Source
const BatchBlocks = 4
View Source
const BlockSize = 16

BlockSize the sm4 block size in bytes.

View Source
const FourBlocksSize = 64

Variables

This section is empty.

Functions

func NewCipher

func NewCipher(key []byte) (cipher.Block, error)

NewCipher creates and returns a new cipher.Block. The key argument should be the SM4 key,

Types

This section is empty.

Jump to

Keyboard shortcuts

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