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
      South African IT spending surging as AI boom lands locally

      South African IT spending surging as AI boom lands locally

      29 July 2026
      Radical rethink for South Africa's national AI policy

      Radical rethink for South Africa’s national AI policy

      29 July 2026
      South African tech's compounding debt problem

      South African tech’s compounding debt problem

      29 July 2026
      Russia charges Telegram founder with terrorism - Pavel Durov

      Russia charges Telegram founder with terrorism

      29 July 2026
      Green light for massive new Cape Town data centres

      Green light for massive new Cape Town data centres

      29 July 2026
    • World
      Meta AI will now tell parents if their teen is in crisis

      Meta AI will now tell parents if their teen is in crisis

      17 July 2026
      IBM shares crash 25% as AI upends software spending - Arvind Krishna

      IBM shares crash 25% as AI upends software spending

      15 July 2026
      Jony Ive's first OpenAI device: an AI smart speaker - Jony Ive and Sam Altman

      Jony Ive’s first OpenAI device: an AI smart speaker

      15 July 2026
      Stripe, Advent in talks to buy PayPal for $53-billion

      Stripe, Advent in talks to buy PayPal for $53-billion

      15 July 2026
      Memory crisis sends smartphone market into steep decline

      Memory crisis sends smartphone market into steep decline

      13 July 2026
    • In-depth
      The plan to stop AI from breaking the world - Google DeepMind CEO Demis Hassabis. Image: John Sears

      The plan to stop AI from breaking the world

      16 July 2026
      The internet has a Strait of Hormuz problem

      The internet has a Strait of Hormuz problem

      15 July 2026
      AI boom sparks rally, frenzy and fear

      AI boom sparks rally, frenzy and fear

      11 June 2026
      Every plug-in hybrid on sale in South Africa, ranked by price - Lamborghini Temerario

      Every plug-in hybrid on sale in South Africa, ranked by price

      7 June 2026
      What Wi-Fi 8 will mean for wireless networks

      What Wi-Fi 8 will mean for wireless networks

      1 June 2026
    • TCS
      TCS+ | A smarter approach to cloud for South African businesses - Joel Chacko and Jonathan Oaker

      TCS+ | A smarter approach to cloud for South African businesses

      28 July 2026
      TCS | How Optasia lends billions to people banks can't see - Salvador Anglada

      TCS | How Optasia lends billions to people banks can’t see

      23 July 2026
      The rands-and-cents case for electric trucks - William Kelly Watts & Wheels with Wills

      The rands-and-cents case for electric trucks

      20 July 2026
      Watts & Wheels S1E7: 'Ferrari's EV breaks the internet'

      Watts & Wheels S1E7: ‘Ferrari’s EV breaks the internet’

      8 July 2026
      TCS | Pick n Pay's Enrico Ferigolli on Penny, the AI that shops for you

      TCS | Pick n Pay’s Enrico Ferigolli on Penny, the AI that shops for you

      2 July 2026
    • Opinion
      The author, Jannie van Zyl

      Selling vapour is corporate suicide in slow motion

      16 July 2026
      Brazil's online gambling crackdown is a lesson for South Africa

      How Amazon outmanoeuvred Starlink in South Africa

      15 July 2026
      The Popia problem with agentic AI - Herman Haasbroek

      The Popia problem with agentic AI

      14 July 2026
      The author, Fanie van Rooyen

      South Africa can still catch the AI wave – here’s how

      7 July 2026
      The author, Fanie van Rooyen

      The AI utopia South Africa can’t afford

      1 July 2026
    • Company Hubs
      • 1Stream
      • Africa Data Centres
      • AfriGIS
      • Altron Digital Business
      • Altron Document Solutions
      • Altron Group
      • Arctic Wolf
      • Ascent Technology
      • AvertITD
      • BBD
      • Braintree
      • CallMiner
      • CambriLearn
      • CM Telecom
      • 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
      • 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
      • Financial services
      • 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
    News Alerts
    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

    Follow TechCentral on Google News Add TechCentral as your preferred source on Google


    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

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

    IBM shares crash 25% as AI upends software spending

    15 July 2026
    TCS+ | IBM Bob: an AI-powered 'development partner' for the enterprise - David Spurway

    TCS+ | IBM Bob: an AI-powered development partner for the enterprise

    30 June 2026
    Top SA computer scientist on IBM's chip breakthrough - Francesco Petruccione

    Top SA computer scientist on IBM’s chip breakthrough

    26 June 2026
    Company News
    Huawei Connect 2026: taking South African AI beyond pilots

    Huawei Connect 2026: taking South African AI beyond pilots

    29 July 2026
    Apple at Work: business technology that works as one

    Apple at Work: business technology that works as one

    29 July 2026
    The infrastructure behind smart account-based recurring payments in South Africa - Pay@ Capitec Pay

    The infrastructure behind smart account-based recurring payments in South Africa

    29 July 2026
    Opinion
    The author, Jannie van Zyl

    Selling vapour is corporate suicide in slow motion

    16 July 2026
    Brazil's online gambling crackdown is a lesson for South Africa

    How Amazon outmanoeuvred Starlink in South Africa

    15 July 2026
    The Popia problem with agentic AI - Herman Haasbroek

    The Popia problem with agentic AI

    14 July 2026

    Subscribe to Updates

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

    Latest Posts
    Huawei Connect 2026: taking South African AI beyond pilots

    Huawei Connect 2026: taking South African AI beyond pilots

    29 July 2026
    South African IT spending surging as AI boom lands locally

    South African IT spending surging as AI boom lands locally

    29 July 2026
    Apple at Work: business technology that works as one

    Apple at Work: business technology that works as one

    29 July 2026
    Radical rethink for South Africa's national AI policy

    Radical rethink for South Africa’s national AI policy

    29 July 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}