Class PrimeCertaintyCalculator


  • public class PrimeCertaintyCalculator
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getDefaultCertainty​(int keySizeInBits)
      Return the current wisdom on prime certainty requirements.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getDefaultCertainty

        public static int getDefaultCertainty​(int keySizeInBits)
        Return the current wisdom on prime certainty requirements.
        Parameters:
        keySizeInBits - size of the key being generated.
        Returns:
        a certainty value.