Re: Another Dumb Idea for Debunking...



Bill Cox wrote:
I've gone ahead and written a new encryption program. I can't help it
- it was FUN. It's at tinycrypt.sourceforge.net.

I have no objection to this except for the last sentence. You seem to understand that there's little chance that your code is secure; under the circumstances it seems irresponsible to release it on sourceforge.

Looking at your algorithm, the most obvious problem I can see is that randVal will always be even at the end of each loop, meaning that the least significant bits of the output are only slightly obscured. I'm sure that someone else here could come up with a complete break if they took the time, but you might find it a good exercise to try this yourself.

The famous cipher RC4 is about as simple as your algorithm and probably about equally fast. It has known flaws, but they can be worked around if you're careful. AES is pretty darn fast too.

-- Ben
.



Relevant Pages

  • Re: Strong AI Thesis (No Chinese room, I promise)
    ... My objection was that you are using the word "existence" differently from most ... so-called "mind" is simply the outcome of the 100% physical brain. ... The quicksort algorithm, when it's not just a physical hardware ...
    (comp.ai.philosophy)
  • Re: SF: Any other research out there?
    ... poly-time factoring algorithm if (and that's an "if" as big as the known ... example of a successful "large" factoring was reported by anyone here). ... only got success rates worth mentioning (possibly, but not probably, ... Useless, but fun. ...
    (sci.crypt)
  • Re: Sorting algorithm problem
    ... In general it is not more efficient than standard ... Your algorithm is Knuth's "Natural Two-Way Merge Sorting", ... The average cost of S is less than the average cost of N. (See ... I used to do things that were good for me because they were fun. ...
    (comp.theory)
  • Re: Working on ARC4-16 bit
    ... > on the algorithm as a learning experience. ... It's fun and it's easy and that's why so ... Learning can be fun, but fun and learning are two different ...
    (sci.crypt)
  • Re: Sorting algorithm problem
    ... >>My algorithm takes the fact this some data naturally is already ... Although, given truly random data, one might ... I've never heard of Knuth. ... Fun was better. ...
    (comp.theory)