Interface FixedSaltGenerator

  • All Superinterfaces:
    SaltGenerator
    All Known Implementing Classes:
    ByteArrayFixedSaltGenerator, StringFixedSaltGenerator

    public interface FixedSaltGenerator
    extends SaltGenerator

    Marker interface for all implementations of SaltGenerator that will always return the same salt (for the same amount of bytes asked).

    Use of this interface in salt generators enables encryptors to perform some performance optimizations whenever they are used.

    Since:
    1.9.2
    Author:
    Daniel Fernández