Skip to content

Commit 2bf4863

Browse files
committed
Fixes
1 parent 6857f2f commit 2bf4863

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

www/pages/encryption-modes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

www/pages/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)