문제

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?"

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top