Files
common/packages/util-crypto/docs
Jaco Greeff 995dfecf61 Initial pair encryption (xsalsa20-poly1305) (#107)
* Allow keypair generation from input string

* Add keyfile encryption/decryption

* Pass secret through n rounds

* Split definition types

* Additional cleanups

* Pass salt as blake2b input

* Move kdf hashing to util-cypto

* Dangling comma

* Pull through secret as string | Uint8Array

* Update documentation
2018-03-13 17:04:44 +01:00
..
2018-02-20 16:16:38 +00:00
2018-02-07 11:22:17 +01:00

Available interfaces

Utility methods for this package are split into groups

  • blake2 Create blake2b values with specified bitlengths
  • kdf Create Keys for use in encryption (rounds & salt) based on inputs
  • keccak Create Keccak256 values as hex & Uint8Array output
  • nacl Implements NaCl secret-key authenticated encryption, public-key authenticated encryption, hashing, and public-key signatures
  • random Returns a sequence of secure random bytes in a variety of formats
  • sha512 Implements Sha-512 hashing functions for a variety of input and outputs
  • xxhash Create xxhash64 values with specified bitlengths