Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Try this on for size
#11
Added line numbers just so you don't have to count the lines Tongue

Code:
1 OPEN "file to encrypt" FOR BINARY AS #1
2 OPEN "output file" FOR BINARY AS #2
3 Code = 128
4 Bit = 1
5 WHILE NOT EOF(1)
6      A$ = " "
7      GET #1, , A$
8      B$ = CHR$(ASC(A$) XOR (Code AND 255))
9      PUT #2, , B$
10     Code = Code + (((((ASC(A$) + LOF(1)) AND 3)) * Bit))
11     Bit = Bit * 2
12     IF Bit = 128 THEN Bit = 1
13 WEND
14 CLOSE 1, 2
very F***ing song remains the same
To everyone who sucks-up for the fame
Out of strength you know we speak the truth
Every trend that dies is living proof

MasterMinds Software
Reply


Messages In This Thread
Try this on for size - by Pc72 - 01-15-2004, 12:00 PM
Try this on for size - by BinarySHOCK - 01-15-2004, 02:13 PM
Try this on for size - by KiZ - 01-15-2004, 04:31 PM
Try this on for size - by Neo - 01-15-2004, 05:42 PM
Try this on for size - by na_th_an - 01-15-2004, 08:50 PM
Try this on for size - by Zack - 01-15-2004, 09:07 PM
Try this on for size - by BinarySHOCK - 01-16-2004, 11:24 AM
Language in QB? - by Pc72 - 01-16-2004, 11:52 AM
Try this on for size - by BinarySHOCK - 01-16-2004, 11:56 AM
Regarding the encryptor - by Pc72 - 01-16-2004, 11:58 AM
Try this on for size - by BinarySHOCK - 01-16-2004, 12:32 PM
Try this on for size - by Diroga - 01-16-2004, 12:47 PM
Try this on for size - by BinarySHOCK - 01-16-2004, 12:49 PM
Artificial languages - by Pc72 - 01-16-2004, 01:50 PM
Try this on for size - by BinarySHOCK - 01-16-2004, 01:52 PM
Signature failed. - by Pc72 - 01-16-2004, 01:53 PM
Try this on for size - by BinarySHOCK - 01-16-2004, 02:03 PM
OPL - by Pc72 - 01-16-2004, 03:49 PM
Try this on for size - by BinarySHOCK - 01-16-2004, 05:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)