I am using the sdk-ruby gem 'authorizenet' in my rails app that
integrates with a mobile app. I need to write code that will create a
transaction with encrypted data which is going to be passed to my api by
the mobile app (through swipe card reader)....