Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 699 Bytes

README.textile

File metadata and controls

22 lines (16 loc) · 699 Bytes

SKLES: Ruby interface for StrongKey Lite boxes

Author Tim Morgan
Version Version 1.1.1 (Jul 12, 2011)
License Released under the MIT license.

The SKLES gem is an interface to StrongAuth’s StrongKey Lite credit card vault
system (http://www.strongauth.com/). You will need a StrongKey Lite install to
make any reasonable use of this gem.

Usage is simple:


require 'skles'
skles = StrongKeyLite.new('http://your.strongauth.server', your_domain_id)
skles.add_user('encrypt_only', 'password', :encrypt)
skles.add_user('decrypt_only', 'password', :decrypt)

skles.encrypt('1234123412341234') #=> token
skles.decrypt(token) #=> credit card number