Class Password

java.lang.Object
com.jk.core.datatypes.custom.Password

public class Password extends Object
The Class Password.
  • Constructor Details

    • Password

      public Password()
  • Method Details

    • getSalt

      public String getSalt()
      Gets the salt.
      Returns:
      the salt
    • setSalt

      public void setSalt(String salt)
      Sets the salt.
      Parameters:
      salt - the new salt
    • getHash

      public String getHash()
      Gets the hash.
      Returns:
      the hash
    • setHash

      public void setHash(String hash)
      Sets the hash.
      Parameters:
      hash - the new hash
    • create

      public static Password create()
      Creates the.
      Returns:
      the password
    • hash

      public Password hash(String hash)
      Hash.
      Parameters:
      hash - the hash
      Returns:
      the password
    • salt

      public Password salt(String salt)
      Salt.
      Parameters:
      salt - the salt
      Returns:
      the password
    • equals

      public boolean equals(Object obj)
      Equals.
      Overrides:
      equals in class Object
      Parameters:
      obj - the obj
      Returns:
      true, if successful
    • getPlain

      public String getPlain()
      Gets the plain.
      Returns:
      the plain
    • setPlain

      public void setPlain(String plain)
      Sets the plain.
      Parameters:
      plain - the new plain