tarot

所属分类:后台框架
开发工具:JavaScript
文件大小:3KB
下载次数:0
上传日期:2014-05-14 00:36:14
上 传 者sh-1993
说明:  从磁卡读卡器解析磁道1
(Parse track 1 from Magnetic Card Readers)

文件列表:
Gruntfile.js (880, 2014-05-14)
dist (0, 2014-05-14)
dist\tarot.min.js (361, 2014-05-14)
index.js (583, 2014-05-14)
package.json (673, 2014-05-14)
test (0, 2014-05-14)
test\index.js (455, 2014-05-14)

# Tarot Parse *track 1* from Magnetic Card Readers. # Install npm install tarot-js # Usage var cc = new Tarot(...TRACK1STRING...); cc.number // => 1234567812345678 cc.cardHolder // => John Doe cc.expiration // => 0199 (mmyy) You can pass it in the *track 1* line or the full line set, `Tarot` will only parse *track 1*. # Note Can't seem to find a consistent way to parse CVV data across cards. Also, not all cards carry the CVV in the track line (or at least the unencrypted version). AMEX for example, doesn't seem to have the CVV number in the track line, or it's encrypted. Great resource explaining the format [here](http://www.gae.ucm.es/~padilla/extrawork/magexam1.html). # License MIT

近期下载者

相关文件


收藏者