Class PasswordHashCreatorSHA512

    • Constructor Detail

      • PasswordHashCreatorSHA512

        public PasswordHashCreatorSHA512()
    • Method Detail

      • requiresSalt

        public boolean requiresSalt()
        Returns:
        true if this hash creator requires a salt, false if not.
      • createPasswordHash

        @Nonnull
        public String createPasswordHash​(@Nullable
                                         IPasswordSalt aSalt,
                                         @Nonnull
                                         String sPlainTextPassword)
        Description copied from interface: IPasswordHashCreator
        The method to create a message digest hash from a password.
        Parameters:
        aSalt - Optional salt to be used. This parameter is only null for backwards compatibility reasons.
        sPlainTextPassword - Plain text password. May not be null.
        Returns:
        The String representation of the password hash. Must be valid to encode in UTF-8.