File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -624,7 +624,7 @@ IPCrypt offers the following encryption modes:
624624 |
625625 +----------------+ |
626626 | | |
627- | 16 -byte Key |------+
627+ | 32 -byte Key |------+
628628 | |
629629 +----------------+
630630 |
@@ -709,8 +709,8 @@ IPCrypt offers the following encryption modes:
709709 from ipcrypt import IPCrypt
710710 import os
711711
712- # Initialize with a 16 -byte key
713- key = bytes.fromhex("000102030405060708090a0b0c0d0e0f ")
712+ # Initialize with a 32 -byte key
713+ key = bytes.fromhex("000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f ")
714714 ipcrypt = IPCrypt(key)
715715
716716 # Generate a random 16-byte tweak
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Try IPCrypt directly in your browser with our interactive playground:
1616<div class =" card p-6 mb-8 " >
1717 <h3 class="text-xl font-bold mb-4">IPCrypt Playground</h3>
1818 <p class="mb-4">Experiment with different encryption modes and see the results in real-time.</p>
19- <a href="/examples/ playground/" class="btn btn-primary">Open Playground</a>
19+ <a href="/playground/" class="btn btn-primary">Open Playground</a>
2020</div >
2121
2222## Encryption Modes Comparison
You can’t perform that action at this time.
0 commit comments