Package com.subgraph.orchid.crypto

Examples of com.subgraph.orchid.crypto.TorMessageDigest.update()


    return new HexDigest(data);
  }
 
  public static HexDigest createDigestForData(byte[] data) {
    final TorMessageDigest digest = new TorMessageDigest();
    digest.update(data);
    return new HexDigest(digest.getDigestBytes());
  }

  private final byte[] digestBytes;
  private final boolean isDigest256;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.