ras

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(ciphertext []byte, privateKey []byte) ([]byte, error)

解密

func Encrypt

func Encrypt(origData []byte, publicKey []byte) ([]byte, error)

@param origData : 需要加密的字符串 @param publicKey: 公钥 @return

Types

This section is empty.

Jump to

Keyboard shortcuts

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