Re: Insecure cryptographic algorithms to avoid using?
- From: Unruh <unruh-spam@xxxxxxxxxxxxxx>
- Date: 15 Jan 2007 05:35:29 GMT
"ykgoh" <gohyongkwang@xxxxxxxxxxx> writes:
Hi,
First of all, I'm not a cryptography researcher, just a developer who
needs encryption for my software, so I figured the best way would be to
rely on a well-tested algorithm that has been scrutinized and tested by
experts. btw, I'm not protecting national security secrets, just to
encrypt some user passwords.
user passwords? The usual way is NOT to encrypt them. The usual is to hash
them and compare the hashed trial password against the stored hash.
Otherwise there is a danger that an attack on your system would uncover all
the passwords. With the hash route that is impossible.
The best candidate would be AES. But I've been looking around Wikipedia
and there're lots of other algorithms available that are considered
secure. E.g. IDEA, Blowfish, RC4 and TEA.
So I'm wondering is it still safe to consider and use these alternative
algorithms as well?
Why?
You have an algorithm that is known to work. Why do you want to go running
around and looking at others?
What are the cryptographic algorithms that have already been proven to
be insecure fundamentally or inadequately secure due to key length as
of 2007, and thus should be avoided?
You have one that is believed secure. Are you playing around? Or do you
have a job to do?
When would be it be appropriate to use block cipher and stream cipher?
Steam cyphers are only useful if the key can be changed for each and every
stream ever used. for your situation both block and stream are
inappropriate but the latter very very inappropriate.
For block cipher, padding has to be used to round off the length of
the block to the required block size. However, encryption and security
is still possible for both even if the plaintext length is uneven and
doesn't align nicely to block size since padding can be used.
Thanks in advance.
.
- References:
- Prev by Date: Re: Insecure cryptographic algorithms to avoid using?
- Next by Date: Re: Insecure cryptographic algorithms to avoid using?
- Previous by thread: Re: Insecure cryptographic algorithms to avoid using?
- Next by thread: Re: Insecure cryptographic algorithms to avoid using?
- Index(es):
Relevant Pages
|