Make subtitution and one-time-pad available in true encryption mode #12

Closed
opened 2025-08-18 15:25:07 +02:00 by EpicKnarvik97 · 1 comment

While some encryption methods have their problems; magic encryption doesn't hide the plaintext on disk and genome encryption loses information as part of the decryption, substitution and one-time-pad should in theory retain the full plaintext.
The main problem right now is that when stored, for whatever reason, it is stored as some kind of byte list instead of a string list. That makes it fail to get the cypher text, so decryption cannot be attempted.

There were also some inconsitencies observed when allowing all encryption methods to be used for real encryption. Plaintext was saved when it shouldn't, and the wrong algorithm was saved to the file.

While some encryption methods have their problems; magic encryption doesn't hide the plaintext on disk and genome encryption loses information as part of the decryption, substitution and one-time-pad should in theory retain the full plaintext. The main problem right now is that when stored, for whatever reason, it is stored as some kind of byte list instead of a string list. That makes it fail to get the cypher text, so decryption cannot be attempted. There were also some inconsitencies observed when allowing all encryption methods to be used for real encryption. Plaintext was saved when it shouldn't, and the wrong algorithm was saved to the file.
EpicKnarvik97 added the
enhancement
label 2025-08-18 15:25:07 +02:00
EpicKnarvik97 added the
wontfix
label 2025-08-18 21:58:03 +02:00
Author
Owner

Unfortunately, even when converted to hex in order to store the pages correctly, some books ended up with some unexpected or wrong characters. Unless the implementation is completely redesigned, it cannot be trusted for real encryption.

Unfortunately, even when converted to hex in order to store the pages correctly, some books ended up with some unexpected or wrong characters. Unless the implementation is completely redesigned, it cannot be trusted for real encryption.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: EpicKnarvik97/Books-Without-Borders#12
No description provided.