Package dust.crypto

Examples of dust.crypto.Key


    random.nextBytes(entropy);
    Keypair pair2=Curve.createKeypair(entropy);
    System.out.println("pair2: "+pair2);

    Key session1=pair1.session(pair2.getPublic());
    System.out.println("session1: "+session1);

    Key session2=pair2.session(pair1.getPublic());
    System.out.println("session1: "+session2);
  }
View Full Code Here

TOP

Related Classes of dust.crypto.Key

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.