sm4

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 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