Class PasswordUtils

  • public final class PasswordUtils
    extends java.lang.Object
    Common utility class to handle password hashing and salting
    • Field Summary

      Modifier and Type Field Description
      static<byte[]> SALT_SUPPLIER  
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String hashPassword​(java.lang.String password, java.lang.String salt)  
      • Methods inherited from class java.lang.Object

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


        public static final<byte[]> SALT_SUPPLIER
    • Constructor Detail

      • PasswordUtils

        public PasswordUtils()
    • Method Detail

      • hashPassword

        public static java.lang.String hashPassword​(java.lang.String password,
                                                    java.lang.String salt)