Native Swift implementation of the RIPEMD hash function.