in src/main/java/org/apache/sling/commons/crypto/jasypt/internal/JasyptRandomSaltGeneratorRegistrar.java [64:73]
private void activate(final JasyptRandomSaltGeneratorRegistrarConfiguration configuration, final BundleContext bundleContext) {
logger.debug("activating");
final String algorithm = configuration.algorithm();
final RandomSaltGenerator saltGenerator = new RandomSaltGenerator(algorithm);
@SuppressWarnings("java:S1149")
final Dictionary<String, String> properties = new Hashtable<>();
properties.put("algorithm", algorithm);
logger.debug("registering Random Salt Generator with algorithm {}", algorithm);
serviceRegistration = bundleContext.registerService(SaltGenerator.class, saltGenerator, properties);
}