Package org.passay

Class PasswordData.SuffixSalt

    • Constructor Detail

      • SuffixSalt

        public SuffixSalt​(String slt)
        Creates a new salt with the given salt data.
        Parameters:
        slt - the salt data
    • Method Detail

      • applyTo

        public String applyTo​(String password)
        Description copied from interface: PasswordData.Salt
        Applies the salt to the password, returning the combined string to be digested.
        Specified by:
        applyTo in interface PasswordData.Salt
        Parameters:
        password - the cleartext password to apply the salt to
        Returns:
        the salted password