crypto

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(decrypter Decrypter, s string) (string, error)

Types

type Decrypter

type Decrypter = *ejsonCrypto.Decrypter

func PrepareDecrypter

func PrepareDecrypter(pubKey string, privKey string) (Decrypter, error)

type Encrypter

type Encrypter = *ejsonCrypto.Encrypter

func PrepareEncrypter

func PrepareEncrypter(pubKey string) (Encrypter, error)

Jump to

Keyboard shortcuts

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