crypto

package
v0.0.0-...-268d42b Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package crypto provides handling of the crypto algorithms

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(data, key []byte) []byte

Decrypt provides decryption of the data

func Encrypt

func Encrypt(data, key []byte) ([]byte, error)

Encrypt provides encrypting of the data

func MakeKeyPair

func MakeKeyPair() ([32]byte, [32]byte, error)

MakeKeyPair provides creating of the key pair for peers

Types

This section is empty.

Jump to

Keyboard shortcuts

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