We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Not many of these solutions work for large n ... and cryptography is full of large ns. A real-world input to this problem might have M and C representing the possible blocks of say 8 bytes - what's the size of the set of all 64-bit numbers? 18446744073709551616. Number of bijections? $VERYBIG.
Try even 1024 as input ...
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Security Encryption Scheme
You are viewing a single comment's thread. Return to all comments →
Not many of these solutions work for large n ... and cryptography is full of large ns. A real-world input to this problem might have M and C representing the possible blocks of say 8 bytes - what's the size of the set of all 64-bit numbers? 18446744073709551616. Number of bijections? $VERYBIG.
Try even 1024 as input ...