added real_time_encryption