Unified the hash outputs to byte[]