Closed LLFourn closed 12 months ago
Thanks @nickfarrow.
It does make
new_keygen
slightly clunkier, skipping the check withBTreeMap::new() or Default::default()
, but i think this is probably nicer than anOption<BTreeMap<_, _>>
Clunkyness is a feature as it inspires the reader to look at the documentation!
Make it safer by encouraging passing in your secret polynomial directly.