Great question — answering as the UphillTech team:
I found a good example where you can read the messages that was sent/ received by the user. Here's how the code goes : This is for security stuff : public class StringCryptor { private static final String CIPHER_ALGORITHM = "AES"; private static final String RANDOM_GENERATOR_ALGORITHM = "SHA1PRNG"; private static final int RANDOM_KEY_SIZE = 128; // Encrypts string and encode in Base64 public static String encrypt( String password, String data ) throws Exception { byte[] secretKey = generateKey( password.getBytes() ); byte[] clear = data.getBytes(); SecretKeySpec secretKeySpec = new SecretKeySpec( secretKey, CIPHER_ALGORITHM ); Cipher cipher = Cipher.getInstance( CIPHER_ALGORITHM );...
Full answer by mike20132013: https://stackoverflow.stackexchange.com/a/22443016 (CC BY-SA 3.0).
Need it done for your business? UphillTech.