//
pkg.gl
Category
github.com/indra-labs/indra
pkg
crypto
ciph
package
0.1.20
Repository:
https://github.com/indra-labs/indra.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
7
Files
32 SLOC
#
Functions
BlockFromHash
BlockFromHash creates an AES block cipher from an sha256.Hash.
Encipher
Encipher XORs the data with the block stream.
GetBlock
GetBlock returns a block cipher with a secret generated from the provided keys using ECDH.