The openssl docs describe option -1 as: "Use the BSD password algorithm based on MD5 1".
Jasypt is a java cryptogrqphy library like jBCrypt . Jasypt is a bit more complicated, but more customizable.
I donβt know much about cryptography, but I assume that the password generated by openssl breaks up like:
$1$ - indicates that this was generated using the MD5 scheme
Gt24/BL6 - 8 byte salt
$ - delimiter
E4ZsrluohHFxtcdqCH7jo. - hash
so it looks like Jasypt BasicPasswordEncryptor might be what you want -
source share