rsawapper

package
v0.0.0-...-ce51046 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RsaDecrypt

func RsaDecrypt(ciphertext []byte, privKey []byte) ([]byte, error)

解密由客户端(java)利用服务器(Go语言实现,即本程序)公钥加密的信息

func RsaEncrypt

func RsaEncrypt(origData []byte, pubKey []byte) ([]byte, error)

利用客户端传来的公钥(java语言产生)加密

Types

This section is empty.

Jump to

Keyboard shortcuts

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