Package org.spongycastle.crypto.digests

Examples of org.spongycastle.crypto.digests.RIPEMD160Digest


        sha3Cache.put(inputByteArray, result);
        return result;
  }
 
    public static byte[] ripemd160(byte[] message) {
      Digest digest = new RIPEMD160Digest();
        if (message != null) {
          byte[] resBuf = new byte[digest.getDigestSize()];
          digest.update(message, 0, message.length);
          digest.doFinal(resBuf, 0);
          return resBuf;
      }
      throw new NullPointerException("Can't hash a NULL value");
    }
View Full Code Here

TOP

Related Classes of org.spongycastle.crypto.digests.RIPEMD160Digest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.