TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cracking The Credit Card Code

20 pointsby japagetover 14 years ago

3 comments

dlsspyover 14 years ago
I wrote code for this ten or so years ago. I don't say that to brag, but to express my annoyance at every credit card form I encounter on the internet. Why do you ask me for my number <i>and</i> what type of card I've got?
评论 #2129926 未加载
评论 #2129906 未加载
joblessjunkieover 14 years ago
<a href="http://en.wikipedia.org/wiki/Luhn_algorithm" rel="nofollow">http://en.wikipedia.org/wiki/Luhn_algorithm</a>
anonymous246over 14 years ago
This is a bad submission: it's trivial to get this info. Flagging. Sorry I'm also posting this comment. Top hit for "credit card number format" has all this info. <a href="http://www.merriampark.com/anatomycc.htm" rel="nofollow">http://www.merriampark.com/anatomycc.htm</a>