|
> 我说的就是Encrypted password,你说的one-way hash,应该也算是一种加密算法
I'm not an expert at cryptography. But I think the terminology you use here is misleading. Indeed they're both cryptographic algorithms. My understanding is that encryption has its reverse function, decryption, but hash or hashing is one way, and cannot be reversed (except by brute force attack of course). So these are two completely different technologies.
I just searched on Wikipedia, and found an entry for an apparent oxymoron, one-way encryption:
http://en.wikipedia.org/wiki/One-way_encryption
where it says "One-way function, a function difficult to invert. Note that encryption is, by definition, reversible. Hence, the term one-way encryption is slightly incorrect in a sense"
That explains many people's loose terminology. When we talk about Oracle's passwords, we should not use the word encryption for that reason. Oracle's dbms_crypto package offers both encrypt and its reverse decrypt function/procedure, and hash function. Note there's no de-hash or reverse hash, because it makes no cryptographic sense.
Yong Huang
[ 本帖最后由 Yong Huang 于 2009-5-23 19:06 编辑 ] |
|