crypto

package
v0.0.0-...-2e10c8a Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKeyPair

func CreateKeyPair() (*rsa.PrivateKey, error)

func Decrypt

func Decrypt(ciphertext []byte, priv *rsa.PrivateKey) ([]byte, error)

func Encrypt

func Encrypt(in []byte, pub rsa.PublicKey) ([]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