This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
Remove generics over the PRP
#232
arnauorriols
started this conversation in
Code design & architecture
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While it's not a bad design per se to be generic over the Psuedorandom Permutation used within Spongos, when imagining a parallel universe where Streams is not plagued with the infamous
F: PRP
it's almost too tempting to get rid of it, on the grounds of simplicity and YAGNI.Benefits of getting rid of
PRP
trait and assumingKeccak1600
:PRP
bound in the majority of them:GenericArray
GenericArray
in the upcoming PR, butPRP
was a resisting feud.PhantomData
of the applicationDrawbacks:
Beta Was this translation helpful? Give feedback.
All reactions