jdk/src/java.base/share/classes/sun/security/provider/AbstractDrbg.java
changeset 37896 cd841af7dcd0
parent 37895 f59fdd7fb4fb
child 38853 971a7101da5b
equal deleted inserted replaced
37895:f59fdd7fb4fb 37896:cd841af7dcd0
   265      * <p>
   265      * <p>
   266      * Here are some examples of the algorithm and strength chosen (suppose
   266      * Here are some examples of the algorithm and strength chosen (suppose
   267      * {@code DEFAULT_STRENGTH} is 128) for HashDRBG:
   267      * {@code DEFAULT_STRENGTH} is 128) for HashDRBG:
   268      * <pre>
   268      * <pre>
   269      * requested             effective
   269      * requested             effective
   270      * (SHA-1, -1)           (SHA-1,128)
   270      * (SHA-224, 256)        IAE
   271      * (SHA-1, 112)          (SHA-1,112)
       
   272      * (SHA-1, 192)          IAE
       
   273      * (SHA-256, -1)         (SHA-256,128)
   271      * (SHA-256, -1)         (SHA-256,128)
       
   272      * (SHA-256, 112)        (SHA-256,112)
   274      * (SHA-256, 128)        (SHA-256,128)
   273      * (SHA-256, 128)        (SHA-256,128)
   275      * (SHA-3, -1)           IAE
   274      * (SHA-3, -1)           IAE
   276      * (null, -1)            (SHA-256,128)
   275      * (null, -1)            (SHA-256,128)
   277      * (null, 112)           (SHA-256,112)
   276      * (null, 112)           (SHA-256,112)
   278      * (null, 192)           (SHA-256,192)
   277      * (null, 192)           (SHA-256,192)