Class JBCrypt

  • All Implemented Interfaces:
    BCrypt, KDF

    public class JBCrypt
    extends java.lang.Object
    implements BCrypt
    • Constructor Summary

      Constructors 
      Constructor Description
      JBCrypt()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getKey​(byte[] pass, int size)  
      void init​(byte[] salt, int iteration)  
      • Methods inherited from class java.lang.Object

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

      • JBCrypt

        public JBCrypt()
    • Method Detail

      • init

        public void init​(byte[] salt,
                         int iteration)
                  throws java.lang.Exception
        Specified by:
        init in interface BCrypt
        Throws:
        java.lang.Exception
      • getKey

        public byte[] getKey​(byte[] pass,
                             int size)
        Specified by:
        getKey in interface KDF