Merci Jérôme, we resolved the solution by writing the following class. It's not super but does the job: import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class IPEncryptor { public static String MD5(String ip) throws NoSuchAlgorithmException, UnsupportedEncodingException {by ramindeja - Nginx Mailing List - English
Hi, We are using NGINX as a load-balancer and we would like to learn more about the MD5 hash function. We need to replicate this function in our Java application. We are using the sticky module that hashes the IP. When we tried to hash the same IP:PORT using MD5 in Java , we never got the same result. What inputs should we use for the MD5 function. Thanks in advance, RaminDejaby ramindeja - Nginx Mailing List - English