privacy-scaling-explorations / zk-kit

A monorepo of reusable libraries for zero-knowledge technologies.
https://zkkit.pse.dev
MIT License
291 stars 79 forks source link

fix(eddsa-poseidon): Check size of the message parameter #347

Open hannahredler opened 1 month ago

hannahredler commented 1 month ago

Description

Checks the message parameter, to ensure it doesn't exceed 32 bytes, as this is required for poseidon.

Related Issue(s)

#190

Checklist

hannahredler commented 1 month ago

Hey @cedoor ah yes i just saw the other PR. Happy to adjust this PR as necessary once the other is finished.

cedoor commented 1 month ago

Hey @cedoor ah yes i just saw the other PR. Happy to adjust this PR as necessary once the other is finished.

Great, thank you!