endecrypt

package
v0.0.0-...-298ae05 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

README

endecrypt

请更换replace.const.go里的所有值

Documentation

Index

Constants

View Source
const (
	Pri1AesRsa1024 method = iota + 1
	Pub1AesRsa1024
	Pri1AesRsa2048
	Pub1AesRsa2048
	Pri1Rsa1024
	Pub1Rsa1024
	Pri1Rsa2048
	Pub1Rsa2048
	Aes1key16
	Aes1key32
	Pri2AesRsa1024
	Pub2AesRsa1024
	Pri2AesRsa2048
	Pub2AesRsa2048
	Pri2Rsa1024
	Pub2Rsa1024
	Pri2Rsa2048
	Pub2Rsa2048
	Aes2key16
	Aes2key32
)

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(m method, src []byte) ([]byte, error)

func Encrypt

func Encrypt(m method, src []byte) ([]byte, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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