Revised Hashing Algorithm (RHA) Inspired from SHA-1, RHA hashing function produces a 40 byte output to a given input of arbitrary length.