Skip to content

Instantly share code, notes, and snippets.

@gnodet
Created September 14, 2010 17:34
Show Gist options
  • Select an option

  • Save gnodet/579437 to your computer and use it in GitHub Desktop.

Select an option

Save gnodet/579437 to your computer and use it in GitHub Desktop.
LoginModule: {
encryption = jasypt
encryption.algorithm = MD5
encryption.outputType = hex
encryption.iterations = 1000
}
leads to
Map<String,String> props = new HashMap();
props.put("algorithm", "MD5");
props.put("outpuType", "hex");
props.put("iterations", "1000");
EncryptionFactory.getEncryption(props);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment