Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fudgebucket27 authored Jan 6, 2022
1 parent 4229ee9 commit 603cb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static void Main(string[] args)
//Test case 1
BigInteger[] inputs = { BigInteger.Parse("19254303773071461417973161554248988464997154230097311673556244912844777390355") };//Max Input should be the number of BigInteger inputs
BigInteger testOnePoseidonHash = poseidon.CalculatePoseidonHash(inputs);
Debug.Assert(testOnePoseidonHash == BigInteger.Parse("19254303773071461417973161554248988464997154230097311673556244912844777390355"), "Hash doesn't match expected hash!");
Debug.Assert(testOnePoseidonHash == BigInteger.Parse("7641334598873409723829611087914304630148005125097433494966402842069929245490"), "Hash doesn't match expected hash!");
Console.WriteLine($"Hash of test one is {testOnePoseidonHash}");
Eddsa eddsa = new Eddsa(testOnePoseidonHash, Environment.GetEnvironmentVariable("LoopringPrivateKey", EnvironmentVariableTarget.User)); //Put in the calculated poseidon hash in order to Sign
string signedMessage = eddsa.Sign();
Expand Down

0 comments on commit 603cb60

Please sign in to comment.