fba70c8504
* add `ParseError` in `zk-token-elgamal` * implement `FromStr` for `ElGamalPubkey` and `ElGamalCiphertext` * implement `FromStr` for `AeCiphertext` * fix target * cargo fmt * use constants for byte length check * make `FromStr` functions available on chain * use macros for the `FromStr` implementations * restrict `from_str` macro to `pub(crate)` * decode directly into array * cargo fmt * Apply suggestions from code review Co-authored-by: Jon C <me@jonc.dev> * remove unnecessary imports * remove the need for `ParseError` dependency --------- Co-authored-by: Jon C <me@jonc.dev> |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml |