added interactive en/decrypting (real_time.rb)