Cryptographic Keys and Decks of Cards
Read OriginalThis article examines the concept of encoding cryptographic keys through the permutation order of playing cards, building on the fact that a 52-card deck can store 225 bits. It calculates the deck sizes needed for various key types: 58 cards for a 256-bit Bitcoin key (using a Zwicker deck), 301 cards for a 2048-bit RSA key (casino shoe of six unique decks), 422 cards for 3072-bit RSA, and 1442 cards for ML-KEM-512 (post-quantum). The piece highlights the challenge of larger key sizes in post-quantum cryptography and includes Python verification code.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet