198199200201202203204205206207208
MCrypt mcrypt = new MCrypt(); /* Encrypt */ try { encrypted = MCrypt.bytesToHex( mcrypt.encrypt(loginPassword.getText()) ); } catch (Exception e1) { // TODO Auto-generated catch block e1.printStackTrace(); } /* Decrypt */