sm4

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KEY_SIZE = 16
	IV_SIZE  = 16
)

Functions

func Decrypt

func Decrypt(key, data []byte) []byte

func Encrypt

func Encrypt(key, data []byte) []byte

func GenerateSymmetricKey

func GenerateSymmetricKey() []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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