Class Ripemd160


  • public class Ripemd160
    extends Object

    Ripemd160 class.

    Bitcoin cryptography library Copyright (c) Project Nayuki https://www.nayuki.io/page/bitcoin-cryptography-library https://github.com/nayuki/Bitcoin-Cryptography-Library
    • Method Detail

      • getHash

        public static byte[] getHash​(byte[] msg)
        Computes and returns a 20-byte (160-bit) hash of the specified binary message. Each call will return a new byte array object instance.
        Parameters:
        msg - the message to compute the hash of
        Returns:
        a 20-byte array representing the message's RIPEMD-160 hash
        Throws:
        NullPointerException - if the message is null