Interface Salt

All Known Implementing Classes:
PrefixSalt, SuffixSalt

public interface Salt
Combines salt (additional external data) with a password before applying a digest algorithm to them.
  • Method Summary

    Modifier and Type
    Method
    Description
    applyTo(CharBuffer password)
    Applies the salt to the password, returning the combined string to be digested.
  • Method Details

    • applyTo

      CharBuffer applyTo(CharBuffer password)
      Applies the salt to the password, returning the combined string to be digested.
      Parameters:
      password - the cleartext password to apply the salt to
      Returns:
      the salted password