i use "Force MD5 encryption of the password" in htpasswd to generate a hash for instance '123' i get:
use htpasswd: 123 => $apr1$kaTbKaLO$ewJXRZAKpjaxK4thy2jOp/
use MD5 digest: 123 => 202cb962ac59075b964b07152d234b70
please tell me how can i generate a hash like the apache htpasswd using java Thanks.