Package org.mindrot.jbcrypt
Class BCrypt
java.lang.Object
org.mindrot.jbcrypt.BCrypt
public class BCrypt
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description BCrypt()
-
Method Summary
Modifier and Type Method Description static boolean
checkpw(java.lang.String string, java.lang.String string2)
byte[]
crypt_raw(byte[] byteArray, byte[] byteArray2, int int1, int[] intArray)
static java.lang.String
gensalt()
static java.lang.String
gensalt(int int1)
static java.lang.String
gensalt(int int1, java.security.SecureRandom secureRandom)
static java.lang.String
hashpw(java.lang.String string, java.lang.String string2)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BCrypt
public BCrypt()
-
-
Method Details
-
crypt_raw
public byte[] crypt_raw(byte[] byteArray, byte[] byteArray2, int int1, int[] intArray) -
hashpw
public static java.lang.String hashpw(java.lang.String string, java.lang.String string2) -
gensalt
public static java.lang.String gensalt(int int1, java.security.SecureRandom secureRandom) -
gensalt
public static java.lang.String gensalt(int int1) -
gensalt
public static java.lang.String gensalt() -
checkpw
public static boolean checkpw(java.lang.String string, java.lang.String string2)
-