Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text Encryption-Decryption
#6
I have now expanded my algorithm into a generally functional file encryptor and decryptor.    
I'm encrypting 32 bit values at a time, so there's a little tiny AND UNIMPORTANT bug to still fix.

If the input file is not an even multiple of 4 bytes in size then the output file will have up to 3 trailing 0 bytes.  On most binary file formats these are unimportant and they are very easy to remove on a text file !
(* UPDATE: This is FIXED Now *)

Need to think on how to solve this actually.   

**cryptor** encrypts a file given a Double Value as a Key (*user entered*).  It saves a *.CRYPT file and a *.CKEY file for **decryptor**.   
If the CKEY file is deleted the file may be decrypted if you know what key was entered for the encryption and enter it manually !


 Anyway here is the code


Attached Files
.bas   decryptor.bas (Size: 4.22 KB / Downloads: 16)
.bas   cryptor.bas (Size: 2.93 KB / Downloads: 14)
.bm   FILEPATHS.BM (Size: 1.31 KB / Downloads: 15)
Reply


Messages In This Thread
Text Encryption-Decryption - by 2112 - 10-16-2025, 07:27 PM
RE: Text Encryption-Decryption - by ahenry3068 - 10-17-2025, 12:01 AM
RE: Text Encryption-Decryption - by ahenry3068 - 10-17-2025, 12:07 AM
RE: Text Encryption-Decryption - by madscijr - 10-17-2025, 04:34 AM
RE: Text Encryption-Decryption - by bplus - 10-17-2025, 11:55 AM
RE: Text Encryption-Decryption - by ahenry3068 - 10-17-2025, 02:03 PM
RE: Text Encryption-Decryption - by euklides - 10-21-2025, 11:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Text Effects 2 2112 6 644 10-30-2025, 11:13 PM
Last Post: Unseen Machine
  Upside-Down Big Text SierraKen 2 664 02-22-2025, 01:52 AM
Last Post: SierraKen
  Exercise with picture and text Kernelpanic 10 2,301 06-14-2024, 10:00 PM
Last Post: SMcNeill
  Word (text) processor krovit 19 4,383 09-02-2023, 04:38 PM
Last Post: grymmjack
  3D Orbiting Text SierraKen 4 1,156 08-03-2022, 05:40 PM
Last Post: SierraKen

Forum Jump:


Users browsing this thread: 1 Guest(s)