Project

sakide

0.0
No commit activity in last 3 years
No release in over 3 years
SAKIDE encryption modul for CIB bank credit card payments
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

SAKIDE¶ ↑

SAKIDE encryption modul for CIB bank credit card payments

You will need¶ ↑

  • A working Ruby installation (>= 1.8.6 or 1.9)

  • A working libmcrypt installation (2.5.x or 2.6.x, tested with 2.5.8)

  • A sane build environment

Installation¶ ↑

Install the gem:

gem install sakide

Put this in your code:

require 'sakide'

Or in Gemfile:

gem "sakide"

Usage¶ ↑

saki = Sakide.new "/path/to/key/file.des"

cleartext = "PID=IEB0001&CRYPTO=1&MSGT=10&TRID=1234123412341234&UID=IEB00000001&LANG=HU&TS=19700101000000&AUTH=0&AMO=10000&URL=http://localhost/"

crypto = saki.encode(cleartext);

cleartext2 = saki.decode(crypto)

Author¶ ↑

  • Matyas Juhasz <juhasz.matyas at pixelface.hu>