sm4

package
v0.0.0-...-fd86128 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base32JieMi

func Base32JieMi(key, JiaMiStr string) ([]byte, error)

Base32解密

func FormatKey

func FormatKey(key string) []byte

func GbkToUtf8

func GbkToUtf8(s []byte) ([]byte, error)

func JiaMi

func JiaMi(key string, originByte []byte) ([]byte, error)

最原始的加密

func JiaMiToBase32

func JiaMiToBase32(key string, originByte []byte) (string, error)

Base32加密

func JieMi

func JieMi(key string, JiaMiByte []byte) ([]byte, error)

最原始的解密

func Utf8ToGbk

func Utf8ToGbk(utf8Byte []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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