hash - Any "out of band" hashes in MD* or SHA-*? -
do of mutual hash algorithms define "out of band" hash code, i.e. 1 guaranteed never result of algorithm?
neither md* or sha-* family of algorithms has out of band hash value.
if wish implement yourself, can utilize next logic:
select random hash value out of band value. compute hash. if hash value (improbably) turns out out of band hash value, assign hash value.in pseudocode:
outofbandhash = 0xdeadbeefdeadbeefdeadbeefdeadbeef h = hash(stuff) if h = outofbandhash h = outofbandhash + 1
hash md5 sha
No comments:
Post a Comment