question: generates an apache htpasswd compatible `` $ apr1 $ '' md5 based hash value . the algorithm is identical to the crypt 3 `` $ 1 $ '' one but produces different outputs due to the different salt prefix . concode_field_sep String MD5_PREFIX concode_elem_sep int ROUNDS concode_elem_sep int BLOCKSIZE concode_elem_sep String APR1_PREFIX concode_field_sep String md5Crypt concode_elem_sep String md5Crypt concode_elem_sep String md5Crypt
target: String function ( final String arg0 , final String arg1 ) { return apr1Crypt ( arg0 . getBytes ( Charsets . UTF_8 ) , arg1 ) ; }