-
Senior Member
registered user
Not sure about this, but, I did have a chance, once, to crack someones "encryption" of data files, used for a game, once...
It basically, used text files, delimited with CR/LF characters. A complete file could be encrypted, sentence by sentence, and not one sentence was the same as the next, previous, etc...
This might be of some help...
Encryption theme:
[random ascii code value] [1st char offset by ascii value in front of sentence] [2nd char = ascii value + 1 as offset] [3rd char = ascii value + 2 as offset] [etc... to end of sentence] ...
The "key" was placed in the front of the encrypted text "line" and for every line, the "key" was different, thus, each sentence was different, in output...
The problem was, the random ascii "key" value could never exceed 255, and must never be larger than the calculation for the rest of the sentence. Long text sentences had to have smaller random "key" ascii values, or the "text" to be encrypted MUST NEVER be outside the standard "alpha-numeric" chars, i.e. a to z, zero to nine, no special chars, or extended 126 to 255 chars.
The encryption scheme was to detect the length of the sentence, detect the highest "offset" ascii value that could be used, randomly select a "key" offset that would work for the text sentence. Stored the char version of this ascii value, and then translate the remainer of the sentence using this offset, placing the translated "char" onto the encypted text line.
Decryption was simple... Read a text line in, extract the "ascii" char "key", and then "step through" un-offsetting" the remainder of the text line.
VB does this really well, coding is a little difficult, but, I'd worked on "examining" this persons data files a while back - the hard part was, some of these files were databases, and I also needed to figure out "blocking factors", text or values, etc...
So, is this what that code is all about ?
Similar Threads
-
By maxIT in forum General Support
Replies: 2
Last Post: 05-16-2005, 08:13 PM
-
By DunkyB in forum Customising & Remastering
Replies: 0
Last Post: 04-15-2005, 03:17 PM
-
By rrfish72 in forum MS Windows & New to Linux
Replies: 3
Last Post: 10-20-2004, 09:57 AM
-
By Sidsarge in forum General Support
Replies: 7
Last Post: 05-17-2004, 05:12 AM
-
By Harry Kuhman in forum Networking
Replies: 84
Last Post: 04-15-2004, 01:02 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Cisco SFP-10G-SR Transceiver
$4.00

Cisco Acacia DP04QSDD-E20-001 400G QSFP-DD Optical Transceiver New - Unused
$389.00

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Qty 20 New Cisco QSFP-100G-FR-W2 10-3659-01 Module Hologram Brand New 20 Pack
$260.00

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

Cisco SFP-10G-SR-S SFP+ 10-3105-01 MMF Transceiver Module/Hologram.
$6.00

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94

10Gb SFP+ to RJ45 Module Copper Cat6 Transceiver Compatible w/5Gb/ 2.5Gb/ 1Gb
$31.95

30PCS Sealed Cisco SFP-10G-SR 10GBASE-SR SFP+ Transceiver Module MMF 850nm 300m
$499.99

For Cisco SFP-10G-T-X Module, 10G SFP to RJ-45 Copper, 10GBase-T, 1/2.5/5/10Gbps
$39.99