package
Version:
v0.0.0-...-bbfb1e9
Opens a new window with list of versions in this module.
Published: Jan 10, 2017
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Encrypt(clientPublicKey, clientAuthToken, text string) map[string]interface{}
func GenerateBytes(size int) []byte
Generate an array of bytes with random seed
func GenerateContext(clientPublic, serverPublic []byte) ([]byte, error)
Generate context for encryption
It is based on section 4.2 of RFC
Source Files
¶
Click to show internal directories.
Click to hide internal directories.