Timeline for Verifying Modular exponentiation operation in etherum
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 10, 2019 at 7:35 | comment | added | alberto |
These values are generated offchain (as you say, and I don't know how to generate them), thus the verify function is untested. I only wrote the verify function to show how to use modExp() for your particular case. modExp() function can be tested passing the base, exponent and modulus as attributes of the function.
|
|
Jun 10, 2019 at 5:56 | comment | added | Heba Mohsen | Could you please suggest how can I create values to test your answer. In other words, How to generate values for D,C,c,l,z to test your contract. | |
Jun 7, 2019 at 22:02 | comment | added | alberto | Yes, it has, you only need to copy the code and paste on remix. If you prefer, copy only the function modExp() to your contract. | |
Jun 7, 2019 at 21:46 | comment | added | Heba Mohsen | But remix has the precompiled contract 0x05 ? in other words, on the current time, I do not have access to the real etherum blockchain so can I test it locally on remix | |
Jun 7, 2019 at 21:20 | comment | added | alberto | You can test the contract on remix. | |
Jun 7, 2019 at 20:41 | comment | added | Heba Mohsen | @albeerto, can I test this code on remix. or should I have account on etherum blockchain to call the contract at 0x05 | |
Jun 7, 2019 at 20:31 | vote | accept | Heba Mohsen | ||
Jun 7, 2019 at 20:31 | |||||
Jun 7, 2019 at 14:15 | history | edited | alberto | CC BY-SA 4.0 |
deleted 68 characters in body
|
Jun 7, 2019 at 13:35 | history | answered | alberto | CC BY-SA 4.0 |