Documentation ¶
Overview ¶
Package cream provides a simple interface to encrypt and decrypt streams using AES-CTR from the standard library. It does not provide any authentication or integrity checks, nor does it manage IVs. This package is intended to be used as a building block for other implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKey128 ¶
func NewKey128() []byte
NewKey128 returns a random byte slice of 16 bytes (for AES-128).
func NewKey192 ¶
func NewKey192() []byte
NewKey192 returns a random byte slice of 24 bytes (for AES-192).
func NewKey256 ¶
func NewKey256() []byte
NewKey256 returns a random byte slice of 32 bytes (for AES-256).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.