Dragan Pilipovic
Dragan Pilipovic
The SSL certificate of https://vitalik.ca/ has expired.
It would be awesome if we could get this method included in the standard library and whitelisted for usage in starknet since it uses a hint and immediately checks it...
Hey there, I noticed there is no uint256_expmod (modular exponentiation) function (similar to [EIP 198](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-198.md) in the EVM) so I decided to write one: ``` // Computes x * y...
Note that if b>n this method: https://github.com/musalbas/solidity-BN256G2/blob/master/BN256G2.sol#L151 doesn't give the correct representation of (n-b). It gives 2^256+(n-b). Example: submod(3,11,10) would give you addmod(3,(10-11),10). 10-11 in solidity is 2^256-1 which is...
# Pull Request type Adding bandersnatch parameters https://eprint.iacr.org/2021/1152.pdf Please check the type of change your PR introduces: - [ ] Bugfix - [x] Feature - [ ] Code style update...