Re: Figuring out table based encryption in assembly



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jonathon wrote:
> I've been tracing an old (1996) utility that uses a very sophisticated
> encryption algorithm for license info. It generates a table, uses
> constantly changing keys, and does some really bizarre stuff with
> multiplication, shifts, xor, and table lookups.
>
> The crypto group doesn't seem to be very active or very helpful, so I
> thought I'd ask here: is there any way to figure out if this is a
> standard encryption method?
>
> It's so complex, it seems unlikely some guy in his garage made it up.
> But at the same time, I'm not sure how to tell if it is DES, Blowfish,
> or something similar.
>

Greetings,
If you can isolate the encryption code and move it into an executable
which can run the encryption and nothing else, you could try browsing
the internet for the specifications for the different algorithms. These
specifications will generally contain test vectors; just put the test
vectors into the unknown algorithm and see if the output matches.

Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: GnuPT 2.7.2
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDNamL6ZGQ8LKA8nwRApacAJ49uGdYtyXpNNK4SP5O3Aj9cQPbkACgtvIA
zoR1HVPPy3YRyaNRCx84cBU=
=NBjY
-----END PGP SIGNATURE-----

.



Relevant Pages

  • Re: New Encryption Idea
    ... performing the 5 reads necessary in the example algorithm results in a delay ... Panama at 400MB/sec, or RC4 at about 90MB/sec, or AES in CTR mode at ... and the speed failings of your design become very clear. ... > Manansala Encryption and Authentication System ...
    (sci.crypt)
  • Meganets "unbreakable" cryptography? Im skeptical.
    ... Meganet makes such grandiose claims that I can't help but ... There's plenty of coverage on secret encryption algorithms ... encryption algorithm that was granted U.S. Patent ... Labor has bought into this "snake oil" and without a doubt ...
    (sci.crypt)
  • Re: Enigma machine strenght using a computer
    ... cipher with rotors that spin backwards, forwards, stop and start based ... on other rotors, change their values according to the phase of the moon ... encryption less error-prone and they were a cost effective way to get ... case) than not since a wider base uses the same algorithm. ...
    (sci.crypt)
  • Re: Enigma machine strenght using a computer
    ... You're right that computers would allow us to implement an Enigma like ... cipher with rotors that spin backwards, forwards, stop and start based ... encryption less error-prone and they were a cost effective way to get ... I personally think this is a silly requirement, no one algorithm can be ...
    (sci.crypt)
  • Re: Enigma machine strenght using a computer
    ... cipher with rotors that spin backwards, forwards, stop and start based ... Is this a good way to get security on modern ... encryption less error-prone and they were a cost effective way to get ... I personally think this is a silly requirement, no one algorithm can be ...
    (sci.crypt)