gwt/3.3/src/pubnub/api/Pubnub.java
/**
     * Decrypt
     *
     * @param JSONObject Encrypted message
     * @return JSONObject Message decrypted
     */
Decrypt
@param JSONObject Encrypted message
@return JSONObject Message decrypted
Decrypt @param JSONObject Encrypted message @return JSONObject Message decrypted
@SuppressWarnings("unchecked")
    public JSONObject decrypt(JSONObject message_encrypted) {
        try {
            JSONObject message_decrypted = new JSONObject();
            Iterator<String> it = message_encrypted.keys();
            while (it.hasNext()) {
                String key = it.next();
                String encrypted_str = message_encrypted.getString(key);
                String decrypted_str = decrypt(encrypted_str);
                message_decrypted.put(key, decrypted_str);
            }
            return message_decrypted;
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
@ SuppressWarnings ( "unchecked" ) public JSONObject decrypt ( JSONObject message_encrypted ) { try { JSONObject message_decrypted = new JSONObject ( ) ; Iterator < String > it = message_encrypted . keys ( ) ; while ( it . hasNext ( ) ) { String key = it . next ( ) ; String encrypted_str = message_encrypted . getString ( key ) ; String decrypted_str = decrypt ( encrypted_str ) ; message_decrypted . put ( key , decrypted_str ) ; } return message_decrypted ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } }
Decrypt
 @param JSONObject Encrypted message
 @return JSONObject Message decrypted
Decrypt @param JSONObject Encrypted message @return JSONObject Message decrypted