byte [ ] function ( ) { SecureRandom loc0 = SecureRandom . getInstance ( "srini_string" ) ; byte [ ] loc1 = new byte [ 8 ] ; loc0 . nextBytes ( loc1 ) ; return loc1 ; }
very important to use securerandom instead of just random . generate a 8 byte 64 bit salt as recommended by rsa pkcs5 concode_field_sep PlaceHolder placeHolder concode_field_sep boolean authenticate concode_elem_sep byte[] getEncryptedPassword