crypto

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CTRDecrypt

func CTRDecrypt(secret string, r io.ReadCloser, w io.WriteCloser) error

CTRDecrypt will decrypt the given data in r using AES in CTR mode and write it to w.

func CTREncrypt

func CTREncrypt(secret string, r io.ReadCloser, w io.WriteCloser) error

CTREncrypt will encrypt the given data in r using AES in CTR mode and write it to w.

Types

This section is empty.

Jump to

Keyboard shortcuts

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