Class KeyGen

java.lang.Object
rs.baselib.crypto.KeyGen

public class KeyGen
extends java.lang.Object
The class for generating key pairs.
Author:
ralph
  • Constructor Summary

    Constructors 
    Constructor Description
    KeyGen()  
  • Method Summary

    Modifier and Type Method Description
    static java.security.KeyPair generateKeyPair​(java.lang.String seed)
    Main method for encryption on command line.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • generateKeyPair

      public static java.security.KeyPair generateKeyPair​(java.lang.String seed)
      Main method for encryption on command line.
      Parameters:
      seed - the seed for the random process
      Returns:
      the key pair