zero-chain
zero-chain copied to clipboard
Ensure preventing from small subgroup attacks
Needed implement as_prime_order() at reading from bytes like here.
https://github.com/LayerXcom/zero-chain/blob/90ebbfef4d08c102ff11c90affe21c578610b0cb/primitives/src/ciphertext.rs#L67-L69