We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e043b1b commit b4001b4Copy full SHA for b4001b4
1 file changed
implementations/python/ipcrypt/pfx.py
@@ -82,7 +82,7 @@ def shift_left_one_bit(data):
82
) # Separator bit at position 0 (LSB of byte 15)
83
PAD_PREFIX_96 = bytearray(
84
[0, 0, 0, 0x01] + [0] * 10 + [0xFF, 0xFF]
85
-) # Separator at pos 96, then IPv4-mapped prefix
+) # Separator in byte 3, then IPv4-mapped prefix at the end
86
87
88
def encrypt(ip, key):
0 commit comments