toucan

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package toucan is an implemnation of a stream cipher. It is meant for educational ONLY. It makes no guarantees either explicitly or implicitly that any information generated is secured by ANY definition.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(data, key, IV io.Reader, output io.Writer) error

Decrypt decrypts the cipher with the provided key. The initiation vector should only be used once and should be the same as the encryption IV. The key should be the only thing that is kept secret.

func Encrypt

func Encrypt(data, key, IV io.Reader, output io.Writer) error

Encrypt encrypts the message with the provided key. The initiation vector should only be used once. The key should be the only thing that is kept secret.

Types

This section is empty.

Jump to

Keyboard shortcuts

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