Documentation ¶
Overview ¶
Package ciph manages encryption ciphers and encrypting blobs of data. Keys are generated using ECDH from a public and private secp256k1 combined, as well as directly from a 32 byte secret in the form of a static array as used in most cryptographic hash function implementations in Go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockFromHash ¶
BlockFromHash creates an AES block cipher from an sha256.Hash.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.