Close Menu
TechCentralTechCentral

    Subscribe to the newsletter

    Get the best South African technology news and analysis delivered to your e-mail inbox every morning.

    Facebook X (Twitter) YouTube LinkedIn
    WhatsApp Facebook X (Twitter) LinkedIn YouTube
    TechCentralTechCentral
    • News
      The world is getting nervous about smart glasses

      The world is getting nervous about smart glasses

      27 November 2026
      EasyEquities CEO Charles Savage

      EasyEquities locks client logins after security incident

      26 November 2026
      CSIR cuts senior scientists as bonuses rise - Thulani Dlamini

      CSIR cuts senior scientists as bonuses rise

      26 November 2026
      TV ad slump hits eMedia hard

      TV ad slump hits eMedia hard

      26 November 2026
      Wits University's Benjamin Rosman

      AI will cost ‘ridiculous numbers of jobs’, says AI policy panel chair

      26 November 2026
    • World
      Elon Musk

      Musk promises every US child two SpaceX shares

      26 November 2026
      Critical Java bug could let hackers take over servers

      Critical Java bug could let hackers take over servers

      19 November 2026
      Nvidia shuts the door on a Jensen Huang comeback

      Nvidia shuts the door on a Jensen Huang comeback

      17 November 2026
      Could Jensen Huang return to Nvidia?

      Jensen Huang weighs a comeback at Nvidia

      16 November 2026
      Intel sued by shareholders over 29% share price plunge - Intel CEO Lip-Bu Tan. Laure Andrillon/Reuters

      Intel sued by shareholders over 29% share price plunge

      16 November 2026
    • In-depth
      Microsoft declares 'Code Red' after historic outage

      Inside the 24 hours that broke Microsoft

      16 November 2026
      Ducking hell: inside Apple's hidden list of words the iPhone won't suggest

      Ducking hell: inside Apple’s hidden list of words the iPhone won’t suggest

      6 November 2026
      Why investors are souring on Netflix

      Why investors are souring on Netflix

      22 October 2026

      10 days that changed the course of AI

      21 September 2026
      Meta to the AI industry: slow down without us - Mark Zuckerberg

      Meta to the AI industry: slow down without us

      16 September 2026
    • TCS
      Meet the CIO | Wits's Stanley Mpofu on taking campus Wi-Fi to malls and libraries

      Meet the CIO | Wits’s Stanley Mpofu on taking campus Wi-Fi to malls and libraries

      20 November 2026
      TCS | Piet le Roux on Sakeliga's fight with Icasa over BEE

      TCS | Piet le Roux on Sakeliga’s fight with Icasa over BEE

      13 November 2026
      W&W | The AA’s Bobby Ramagwede on a car industry running out of road

      W&W | The AA’s Bobby Ramagwede on a car industry running out of road

      12 November 2026
      TCS | Pick n Pay fights back in online grocery wars - Vince Viviers

      TCS | Pick n Pay fights back in online grocery wars

      11 November 2026
      TCS | Nomvuyiso Batyi on the battle over Sim registration - Nomvuyiso Batyi

      TCS | Nomvuyiso Batyi on the battle over Sim registration

      9 November 2026
    • Opinion
      Icasa's Sim rules need a privacy backstop - Lloyd Matthew and Heinz Vollmer

      Icasa’s Sim rules need a privacy backstop

      5 November 2026
      AI's boardroom honeymoon is over - Gary Stocks

      AI’s boardroom honeymoon is over

      22 October 2026
      Before South Africa licenses Starlink, it should look at Ukraine - Duncan McLeod

      Before South Africa licenses Starlink, it should look at Ukraine

      21 October 2026
      Nonkqubela Thathakahle Jordan-Dyani

      Why cybersecurity is now a national security issue for South Africa

      15 October 2026
      When a machine can choose, who does it become? Fanie van Rooyen

      When a machine can choose, who does it become?

      9 October 2026
    • Company News
      • 1Stream
      • Africa Data Centres
      • AfriGIS
      • Altron Digital Business
      • Altron Document Solutions
      • Altron Group
      • Arctic Wolf
      • Ascent Technology
      • AvertITD
      • BBD
      • Braintree
      • CallMiner
      • CambriLearn
      • CM.com
      • Contactable
      • CYBER1 Solutions
      • Digicloud Africa
      • Digimune
      • Domains.co.za
      • ESET
      • Euphoria Telecom
      • HOSTAFRICA
      • Incredible Business
      • iONLINE
      • IQbusiness
      • Iris Network Systems
      • Kaspersky
      • LSD Open
      • Mitel
      • NEC XON
      • Netstar
      • Network Platforms
      • Next DLP
      • Ovations
      • Paracon
      • Paratus
      • Publishared
      • Q-KON
      • SevenC
      • SkyWire
      • Solid8 Technologies
      • Telit Cinterion
      • Telviva
      • Tenable
      • Vertiv
      • Videri Digital
      • Vodacom Business
      • Vox
      • Wipro
      • Workday
      • XLink
    • Sections
      • AI and machine learning
      • Banking
      • Broadcasting and media
      • Cloud services
      • Contact centres and CX
      • Cryptocurrencies
      • Education and skills
      • Electronics and hardware
      • Energy and sustainability
      • Enterprise software
      • Fintech and payments
      • HealthTech
      • Information security
      • Internet and connectivity
      • Internet of things
      • Investment
      • IT services
      • Lifestyle
      • Policy and regulation
      • Public sector
      • Retail and e-commerce
      • Satellite communications
      • Science
      • SMEs and start-ups
      • Social media
      • Talent and leadership
      • Telecoms
      • Watts & Wheels
    • Events
    • Advertise
    TechCentralTechCentral
    Home » Sections » Banking » The little-known secret behind every credit card number

    The little-known secret behind every credit card number

    Luhn’s algorithm is a simple checksum that roots out human error in card number inputs. Here’s how it works.
    By Nkosinathi Ndlovu10 September 2024
    Twitter LinkedIn Facebook WhatsApp Email Telegram Copy Link
    Get breaking news on WhatsApp

    The little-known secret behind every credit card numberThe threat of fraudulent credit card numbers from malicious actors is not the only problem that financial institutions and payments services have to grapple with when processing card transactions. Another more common issue is human error.

    Luhn’s algorithm, developed by IBM scientist Hans Peter Luhn in 1954, was designed to help verify that a credit or debit card number is valid – and you can test it with your own bank cards.

    Luhn’s algorithm works by doubling the first number and then every second digit in the card number. If the product is greater than nine, then each digit in the product is added together in the next step.

    After that, all the digits from left to right are added together. If the result is a multiple of 10, the credit card number is valid. If not, it is invalid.

    Luhn’s algorithm is part of the checksum family of algorithms. These algorithms ingest large amounts of data and create a value representing that data. They are often provided prior to data being transferred and used to check its validity after it has been transported from one place to another, ensuring that no parts were lost, changed or added to the data in transit.

    The Luhn algorithm

    Created by IBM scientist Hans Peter Luhn, it is widely used by most credit cards and many government identification numbers as a simple method of distinguishing valid numbers from mistyped or otherwise incorrect numbers. pic.twitter.com/74Buk6jhyI

    — Massimo (@Rainmaker1973) September 7, 2024

    Luhn was born in Germany in 1896 and studied engineering at the Technical University in Munich, although he left the institution without obtaining a degree. He moved to the US in the 1920s to work as a textile engineer and thereafter moved into the field of information science, joining IBM in 1941.

    Patents

    Among his other contributions to information science are more than 80 patents relating to information retrieval, text analysis and data processing. He was also involved in the development of the earliest machine translation methods using statistical techniques, forerunners to the methods used in machine learning and natural language processing today.  – © 2024 NewsCentral Media

    Don’t miss:

    First quantum cyberattack expected by 2030s – IBM

    Add TechCentral as a preferred source on GoogleFollow TechCentral on Google NewsGet breaking news on WhatsApp


    Hans Peter Luhn IBM The little-known secret behind every credit card number
    WhatsApp YouTube
    Share. Facebook Twitter LinkedIn WhatsApp Telegram Email Copy Link
    Previous ArticleTop-paying IT jobs in South Africa for 2025
    Next Article Lessons from CrowdStrike, two months after disaster struck

    Related Posts

    Sars to pay Microsoft and IBM R2.75-billion in sole-source deals

    Sars to pay Microsoft and IBM R2.75-billion in sole-source deals

    12 October 2026
    LSD Open earns Red Hat automation specialisation

    LSD Open earns Red Hat automation specialisation

    31 August 2026
    IBM shares crash 25% as AI upends software spending - Arvind Krishna

    IBM shares crash 25% as AI upends software spending

    15 July 2026
    Company News
    Where AI actually belongs in your phone system - and where it doesn't - Centracom

    Where AI actually belongs in your phone system – and where it doesn’t

    27 November 2026
    The real promise of AI in insurance is better value for customers - Soul Abraham, Old Mutual Insure

    The real promise of AI in insurance is better value for customers

    27 November 2026
    Altron CTO Andy Mabaso takes home two CIO Awards

    Altron CTO Andy Mabaso takes home two CIO Awards

    27 November 2026
    Opinion
    Icasa's Sim rules need a privacy backstop - Lloyd Matthew and Heinz Vollmer

    Icasa’s Sim rules need a privacy backstop

    5 November 2026
    AI's boardroom honeymoon is over - Gary Stocks

    AI’s boardroom honeymoon is over

    22 October 2026
    Before South Africa licenses Starlink, it should look at Ukraine - Duncan McLeod

    Before South Africa licenses Starlink, it should look at Ukraine

    21 October 2026

    Subscribe to Updates

    Get the best South African technology news and analysis delivered to your e-mail inbox every morning.

    Latest Posts
    Where AI actually belongs in your phone system - and where it doesn't - Centracom

    Where AI actually belongs in your phone system – and where it doesn’t

    27 November 2026
    The real promise of AI in insurance is better value for customers - Soul Abraham, Old Mutual Insure

    The real promise of AI in insurance is better value for customers

    27 November 2026
    Altron CTO Andy Mabaso takes home two CIO Awards

    Altron CTO Andy Mabaso takes home two CIO Awards

    27 November 2026
    The world is getting nervous about smart glasses

    The world is getting nervous about smart glasses

    27 November 2026
    © 2009 - 2026 NewsCentral Media
    Built and maintained by Chronon
    • Cookie policy (ZA)
    • TechCentral – privacy and Popia

    Type above and press Enter to search. Press Esc to cancel.

    Manage consent

    TechCentral uses cookies to enhance its offerings. Consenting to these technologies allows us to serve you better. Not consenting or withdrawing consent may adversely affect certain features and functions of the website.

    Functional Always active
    The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
    Preferences
    The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
    Statistics
    The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
    Marketing
    The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
    • Manage options
    • Manage services
    • Manage {vendor_count} vendors
    • Read more about these purposes
    View preferences
    • {title}
    • {title}
    • {title}
    🇿🇦 Sign up to the TechCentral newsletter