4

Ora_hash is deterministic in that the keeping the input and seed constant will produce a definite output.

But, for any seed (including the default), will the output of an ora_hash necessarily have the property that:

"No method exists that can be used to predict what the result of an ORA_HASH will be with any level of success higher than purely random guessing?"

4

1 回答 1

7

Probably not, no. ORA_HASH is not designed as a particularly robust hashing algorithm-- it's certainly not something you would use as part of a cryptography library, for example, you'd use the DBMS_CRYPTO.HASH choosing an appropriate algorithm and options. ORA_HASH is designed to distribute items into buckets effectively (i.e. what happens when you hash partition a table) and to be a relatively lightweight hashing algorithm. It is not designed to be secure from attack.

于 2013-09-19T19:25:05.183 回答