公司书架上看到这本《Web安全、隐私与电子商务》就借回来看了一下,读到电子支付这一章,还真的发现一点很有意思的内容。
有一节介绍了支付卡校验位算法,记录一下算法:
1. 对卡号上的每位数字乘以权重。其规则是,如果卡号数字个数是偶数,则第一位乘以2,否则就乘以1,然后以后分别是,1,2,1,2,1,2;
2. 如果每位数字乘以权重后超过9 ,则需要减去 9;
3. 将所有的处理过的加权数字求和,用 数字 10 求模运算;
4. 余数应该是0,否则可能是输入错误。也可能是一个假号。
更为详细的例子参考O'Reilly 台湾站点样章对校验位的介绍。
书中介绍这个算法是公开在 ISO 2894 中的,搜索了一下,这个算法叫做 The Luhn Mod-10 Method。
有的网友可能会动起脑筋,那么是否可以伪造一个信用卡号码呢,嘿嘿嘿,不要忘了还有用户卡上的名字和三位验证码呢, 重要的是,书中告诉我们: 盗用信用卡号码是犯罪行为.
顺便说一下,附录一的内容很适合初创公司的CEO阅读一下。
--EOF--
这个周四开始,阿里巴巴公司会在浙江大学举办面向应届生的招聘会。时间安排:
10月19号 13:30 面试官宣讲 16:00-18:00 笔试
10月20号 9:00-17:00 面试
10月21号 9:00-17:00 面试
这次招聘也有 DBA 招聘计划,阿里巴巴 DBA 团队的技术实力在业界有很高声誉,对新人来说有相对更好的成长环境。举双手欢迎牛人加盟,请关注校园海报。感兴趣的同学填表的时候注明 DBA 意向吧。
此时此刻,非你莫属!
针对毕业生的开发 DBA 职位描述
-------------
*) 跟踪、支持开发项目
*) 设计、或根据《数据库设计规范》审核schema
*) 开发、测试环境建立
*) 工程师疑问解答
*) 项目 Webtrace 维护
*) 数据库开发优化与建议
*) 制作《数据库设计说明书》
职位要求:
-------------
1. 计算机专业,本科,数学功底扎实
2. 至少精通一门语言;有项目经验;掌握数据库基本理论优先
3. 熟悉 Linux 系统
4. 酷爱技术,勤于钻研
5. 善于沟通和团认合作,诚信。
上面的要求应该会灵活对待。如果因为时间问题没有参加笔试,我想应该还是有机会的,是技术牛人就成 :)
计划中我可能会去参加招聘会。
关于一些评价的信息请参考 论坛上的讨论.
--EOF--
---Cliff Guren, Director of Publisher Evangelism
In our haste to tell you about some recent enhancements, we missed a few. (What can we say, things move mighty fast around here - three of our developers have already showed up for work tomorrow). Fresh off the FeedBurner “Check this when it's done” list are the following free featurettes available for your immediate use:
Digg This, now dynamic-ized
We've been working directly with the team from Digg to create an official and dynamic version of this popular FeedFlare. Now, the "Digg This!" FeedFlare reflects the latest number of Diggs and comments. If your post has been dugg and people have commented, your FeedFlare link will reflect it.
Sphere FeedFlare has been upgraded
Do you want your readers to easily discover blog posts related to your content? The awesome crew at Sphere have upgraded some code to now reflect the most recent number of related items. The FeedFlare link will look like this in your feed or on your site: "Sphere: N posts on similar topics." No related posts for an item? The link will not appear because it's smart like that.
Activate both the Digg and Sphere FeedFlares from the "Optimize" tab with FeedBurner. Here's a screenshot for you visual folks:
Need help FeedFlare-ing?
All of this FeedFlare talk might have you thinking, "How can I make one?" Eric has written some instructions for creating a parameterized FeedFlare unit of your very own. Use FeedFlare to:
Third-party extension
Steve Smith, our knight in shining armor, has updated his ordered list plugin for WordPress. The plugin will detect all ways to access your feed (e.g. http://www.yoursite.com/feed/ or http://www.yoursite.com/wp-rss2.php, etc.), and redirect them to your FeedBurner feed so you can track every possible subscriber. It will redirect your main posts feed, and optionally your main comments feed as well. If you have a WordPress blog and are looking for an simple way to take advantage of FeedBurner services, Steve's plugin is the "it" plugin for you.
Show the world you're hot for FeedBurner
Hey, sometimes you may feel like giving back and to you, we say "Thanks!" If you're bursting with FeedBurner fanhood, we are pleased to offer the following:
FeedBurner (note the big "B"!)
Attn: I Want a Sticker!
549 W. Randolph, 6th floor
Chicago, IL 60661