arnaucube f22be3cdee Update Poseidon Hash function names, rm HashBytes
Since Poseidon Hash is used because of compatibility in zkSNARK circuits, due
circuit constraints number, the hash method of [T]*big.Int is the one directly
compatible with the circuits, is the method which have the `Hash` name on it.
The method that can take arbitrary length of []*big.Int putting them in chunks
of [T]*big.Int and iterating, is called `HashSlice`. The `HashBytes` has been
removed, as is a method that will not be used in zkSNARK circuits due high
constraints number.

For zkSNARK circuits, should be used `poseidon.Hash([poseidon.T]*big.Int)`.
2020-07-23 07:59:59 +02:00
2020-03-03 16:31:09 +01:00
2020-03-17 17:17:45 +01:00
2020-04-20 12:45:35 +02:00
2020-04-14 16:53:15 +02:00
2020-04-14 16:53:15 +02:00
2019-06-25 14:50:17 +02:00
2020-04-14 16:53:15 +02:00

go-iden3-crypto Go Report Card Test Status Lint Status GoDoc

Go implementation of some cryptographic primitives (that fit inside the SNARK field) used in iden3

Description
No description provided
Readme GPL-3.0 2.2 MiB
Languages
Go 100%