You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create an array with sequential values. of size 2^30.
iterate over the array, replacing initializing each element with its corresponding permuted index (make sure to use same keys every time).
check to make sure all the original values indices are still represented, each exactly once.
If that isn't true, then we're not really permuting. If it is true, make sure you actually did something and are not just checking the original values.
Description
We want to make sure that the current Feistel implementation has no bugs.
Acceptance criteria
A test that checks if feistel is a valid permutation which tests a permutation of 2^30 nodes.
Risks + pitfalls
Where to begin
The text was updated successfully, but these errors were encountered: