cryptox

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptAes

func DecryptAes(key string, data string) (string, error)

AES解密 - CBC模式

func DecryptRSA

func DecryptRSA(privateKey, data string) (string, error)

解密

func EncryptAES

func EncryptAES(key, data string) (string, error)

AES加密 - CBC模式

func EncryptRSA

func EncryptRSA(publicKey, data string) (string, error)

加密

Types

This section is empty.

Jump to

Keyboard shortcuts

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