mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Fixes a mistake in the advanced cryptography explanation.
This commit is contained in:
parent
8dd2e5e222
commit
2ebf976653
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ Should you ever want to decrypt your journal manually, you can do so with any pr
|
||||||
with open("my_journal.txt") as f:
|
with open("my_journal.txt") as f:
|
||||||
cipher = f.read()
|
cipher = f.read()
|
||||||
crypto = AES.new(key, AES.MODE_CBC, iv = cipher[:16])
|
crypto = AES.new(key, AES.MODE_CBC, iv = cipher[:16])
|
||||||
plain = crypto.decrypt(cipher)
|
plain = crypto.decrypt(cipher[16:])
|
||||||
|
|
||||||
### JSON export
|
### JSON export
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue