static EncryptingPasswordEncoder encrypting(Password secret,
                   String keyFactoryAlgorithm,
                   String cipherAlgorithm,
                   int keyLength,
                   int iterations) {
        return new EncryptingPasswordEncoder(secret, keyFactoryAlgorithm, cipherAlgorithm, keyLength, iterations);
    }
A password encoder that does not modify the given password. This is used in KRaft mode only.
server-common/src/main/java/org/apache/kafka/security/PasswordEncoder.java