Package net.i2p.util

Examples of net.i2p.util.NativeBigInteger.toByteArray()


      Logger.minor(this, "My exponential: "+HexUtil.toHexString(myExponential));
      Logger.minor(this, "Peer's exponential: "+HexUtil.toHexString(peerExponential));
      Logger.minor(this, "g^ir mod p = " + HexUtil.toHexString(sharedSecret));
    }
   
    return sharedSecret.toByteArray();
  }

    @Override
    public byte[] getPublicKeyNetworkFormat() {
        return stripBigIntegerToNetworkFormat(myExponential);
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.