That's a really hard qwestion
Of course i don't take any offense, i'm usually reinventing the wheels all the time myself hehe.
No it's really hard to calculate a algoritms "strength", just because algoritms can be so different, although keyencryption have the common part, the key length, doesn't mean it's hard to make long keys. No the algoritm itself has tons of factors that can improove or make it weak. I wasn't really aiming at security myself when i did those algoritms at my homepage but performance instead, well now i have random encryption, and from some tests done, including nongeneric private keys, it seems to encrypt them well. But that's just a guess. There might be flaws you don't know about, tricks that hackers can use, to make your encryption obsolete, or at least easier to crack.
Usually those big encryption algoritms out there are much "stronger" since they have been used, been cracked against and improoved over and over again. Could be called sort of "experience".
getting a bit carried away aren't we
Yeah,
you can say that from the point of view of a brute force you will be safe but what are we really talking about here?
Like was mentioned earlier, it's math not programming! if your protecting your data from a group of VB programmers I'm sure you'll be fine, in fact XOR with a bit of a twist will do but if you are talking REAL encription, considering this discussion most people don't know whether the algorithm is safe or not.
If it can be cracked easily by a pro crypto-analyst then it's poor and not worth using
If your just playing then it doesn't matter
I'm of the opinion that if you don't want to spend years researching the subject then impliment a known algorithm, if you can't even do that then you have no business in the field and should use a=1, b=2 like the australian govt ;).
I've implemented a few simplistic algorithms in basic and the complexity of the permutations in them makes this look laughable.
I may look like an a$$hole for saying that but why not implement an known algorithm as a reality check to see how it's really done? you'll learn heaps, I did! at least enough realise the gap between what they were doing and my ideas of encryption.
Remember it's a serious subject if your distributing an application to the big wide world
I'll post some links if you like, DES, blowfish, MD5 are all do-able and are a LOT better than this, yeah, DES is only 56bit, but you will have to search that, there's little chance of cracking the alorithm itself. This search has been done in about 3 days but the systems had 1500 CPUs
The algorithm itself was secure, and still is
I know this thread is old, but...
Quote:
Hehe... Your random number fits in a Long (var) so it's 4 Bits
Would that be 4 bits or 4 bytes and 32 bits???
four bits would only let you count to 16...
Just wondering.
sq1
Re: getting a bit carried away aren't we
Quote:
Originally posted by Paul282
Yeah,
I'll post some links if you like, DES, blowfish, MD5 are all do-able and are a LOT better than this, yeah, DES is only 56bit, but you will have to search that, there's little chance of cracking the alorithm itself. This search has been done in about 3 days but the systems had 1500 CPUs
The algorithm itself was secure, and still is
MD5 is a one way hash. You cannot decrypt it like say, Blowfish.