Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: potatosalad/erlang-keccakf1600

Tags

3.0.0

Toggle 3.0.0's commit message
Version 3.0.0 (2019-07-28)

* Enhancements
  * Refactor to match [erlang-libdecaf](https://github.com/potatosalad/erlang-libdecaf).
  * Add support for SPONGERNG functions.
  * Improved testing setup and hopefully fix build problems on FreeBSD.

2.0.0

Toggle 2.0.0's commit message
Version 2.0.0

* Enhancements
  * Rewrite as NIF with timeslice reductions (roughly 10x faster).

* Breaking Changes
  * Previous API has been simplified to the following (using `sha3_512` as an example):
    * `Out = keccakf1600:hash(sha3_512, <<"test">>)`
    * `State0 = keccakf1600:init(sha3_512)`
    * `State1 = keccakf1600:update(State0, <<"test">>)`
    * `Out = keccakf1600:final(State1)`
  * The `shake128` and `shake256` algorithms are very similar, but require an output length (using `shake256` and `64` output length as an example):
    * `Out = keccakf1600:hash(shake256, <<"test">>, 64)`
    * `State0 = keccakf1600:init(shake256)`
    * `State1 = keccakf1600:update(State0, <<"test">>)`
    * `Out = keccakf1600:final(State1, 64)`

1.0.2

Toggle 1.0.2's commit message
Version 1.0.2

1.0.1

Toggle 1.0.1's commit message
Version 1.0.1

* Fixes
  * Minor rebar configuration fix.

1.0.0

Toggle 1.0.0's commit message
Version 1.0.0

0.0.1

Toggle 0.0.1's commit message
Version 0.0.1

* Initial Release

* Publish to [hex.pm](https://hex.pm/packages/keccakf1600).

* Library Support
  * `keccakf1600_fip202:shake128/2`
  * `keccakf1600_fip202:shake256/2`
  * `keccakf1600_fip202:sha3_224/1`
  * `keccakf1600_fip202:sha3_256/1`
  * `keccakf1600_fip202:sha3_384/1`
  * `keccakf1600_fip202:sha3_512/1`

* Basic Tests based on FIPS202 test vectors