Avoid ConcurrentModificationException when decrypting

When we are iterating over the map.keySet(), if we remove and add items a ConcurrentModificationException occurs if the map is a LinkedHashMap