mx4j should be ported to use NSS library for cryptography. See the tracking bug for details and links on how it could be done.
Mx4j uses the JRE implementations of cryptographic hash functions from the "java.security" package. Porting efforts should be focused on OpenJDK, not individual java packages. Closing NOTABUG.