exth_crypto v0.1.6 API Reference

Modules

Handles the general crypto stuff

Defines standard functions for use with AES symmetric cryptography in block mode

Module for symmetric encryption

Defines ECIES, as it pertains to Ethereum

Implements Elliptic Curve Diffie-Hellman, as it pertains to Exthereum

Returns one set of the Standard ECIES parameters

A variety of functions to handle one-way hashing functions as defined by Ethereum

Simple fake hash that basically just returns its own input

Simple wrapper for Keccak function for Ethereum

Helper functions for running Secure Hash Algorithm (SHA)

Implements NIST SP 800-56 Key Deriviation Function, as defined in http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-56Ar2.pdf

Simple functions to interact with keys

Wrapper for erlang’s built-in HMAC (Hash-based Message Authentication Code) and CMAC (Cipher-based Message Authentication Code) routines, to be used for Exthereum

Helpers for basic math functions

A variety of functions for calculating cryptographic signatures

A variety of helper functions to make the tests consistent in their usage of keys, etc