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
      How liberalisation is rewiring South Africa's power sector

      How liberalisation is rewiring South Africa’s power sector

      21 January 2026
      South African digital radio trial is about to go live - Aldred Dreyer

      South African digital radio trial is about to go live

      21 January 2026
      Major change to telco licensing rules in Europe - Henna Virkkunen

      Major change to telco licensing rules in Europe

      21 January 2026
      An inflection point for crypto in South Africa - Hannes Wessels Binance

      An inflection point for crypto in South Africa

      21 January 2026
      No risk of load shedding after Koeberg output scaled back

      No risk of load shedding after Koeberg output scaled back

      21 January 2026
    • World
      Taiwan, US strike strategic AI and chip supply-chain pact - TSMC

      Taiwan, US strike strategic AI and chip supply-chain pact

      20 January 2026
      Wikipedia moves to monetise AI giants' reliance on its content

      Wikipedia moves to monetise AI giants’ reliance on its content

      15 January 2026
      Visa moves to plug stablecoins into the global payments system

      Visa moves to plug stablecoins into the global payments system

      15 January 2026
      Oracle sued as bondholders allege AI debt plans were hidden - Larry Ellison

      Oracle sued as bondholders allege AI debt plans were hidden

      15 January 2026
      Activists call for X, Grok to removed from app stores - Elon Musk

      Activists call for X, Grok to removed from app stores

      14 January 2026
    • In-depth
      The top-performing South African tech shares of 2025

      The top-performing South African tech shares of 2025

      12 January 2026
      Digital authoritarianism grows as African states normalise internet blackouts

      Digital authoritarianism grows as African states normalise internet blackouts

      19 December 2025
      TechCentral's South African Newsmakers of 2025

      TechCentral’s South African Newsmakers of 2025

      18 December 2025
      Black Friday goes digital in South Africa as online spending surges to record high

      Black Friday goes digital in South Africa as online spending surges to record high

      4 December 2025
      DStv dodges channel blackout in last-minute deal with Warner Bros

      Canal+ plays hardball – and DStv viewers feel the pain

      3 December 2025
    • TCS

      TCS+ | Why cybersecurity is becoming a competitive advantage for SA businesses

      20 January 2026
      TCS+ | Africa's digital transformation - unlocking AI through cloud and culture - Cliff de Wit Accelera Digital Group

      TCS+ | Cloud without culture won’t deliver AI: Accelera’s Cliff de Wit

      12 December 2025
      TCS+ | How Cloud on Demand helps partners thrive in the AWS ecosystem - Odwa Ndyaluvane and Xenia Rhode

      TCS+ | How Cloud On Demand helps partners thrive in the AWS ecosystem

      4 December 2025
      TCS | MTN Group CEO Ralph Mupita on competition, AI and the future of mobile

      TCS | Ralph Mupita on competition, AI and the future of mobile

      28 November 2025
      TCS | Dominic Cull on fixing South Africa's ICT policy bottlenecks

      TCS | Dominic Cull on fixing South Africa’s ICT policy bottlenecks

      21 November 2025
    • Opinion
      AI moves from pilots to production in South African companies - Nazia Pillay SAP

      AI moves from pilots to production in South African companies

      20 January 2026
      ANC's attack on Solly Malatsi shows how BEE dogma trumps economic reality - Duncan McLeod

      ANC’s attack on Solly Malatsi shows how BEE dogma trumps economic reality

      14 December 2025
      Netflix, Warner Bros deal raises fresh headaches for MultiChoice - Duncan McLeod

      Netflix, Warner Bros deal raises fresh headaches for MultiChoice

      5 December 2025
      BIN scans, DDoS and the next cybercrime wave hitting South Africa's banks - Entersekt Gerhard Oosthuizen

      BIN scans, DDoS and the next cybercrime wave hitting South Africa’s banks

      3 December 2025
      ANC's attack on Solly Malatsi shows how BEE dogma trumps economic reality - Duncan McLeod

      Your data, your hardware: the DIY AI revolution is coming

      20 November 2025
    • Company Hubs
      • Africa Data Centres
      • AfriGIS
      • Altron Digital Business
      • Altron Document Solutions
      • Altron Group
      • Arctic Wolf
      • AvertITD
      • Braintree
      • CallMiner
      • CambriLearn
      • CYBER1 Solutions
      • Digicloud Africa
      • Digimune
      • Domains.co.za
      • ESET
      • Euphoria Telecom
      • Incredible Business
      • iONLINE
      • IQbusiness
      • Iris Network Systems
      • LSD Open
      • NEC XON
      • Netstar
      • Network Platforms
      • Next DLP
      • Ovations
      • Paracon
      • Paratus
      • Q-KON
      • SevenC
      • SkyWire
      • Solid8 Technologies
      • Telit Cinterion
      • Tenable
      • Vertiv
      • Videri Digital
      • Vodacom Business
      • 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
      • Information security
      • Internet and connectivity
      • Internet of Things
      • Investment
      • IT services
      • Lifestyle
      • Motoring
      • Public sector
      • Retail and e-commerce
      • Satellite communications
      • Science
      • SMEs and start-ups
      • Social media
      • Talent and leadership
      • Telecoms
    • 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



    Hans Peter Luhn IBM The little-known secret behind every credit card number
    WhatsApp YouTube Follow on Google News Add as preferred source on Google
    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

    The next wave: 10 technologies that will define 2026

    The next wave: 10 technologies that will define 2026

    7 January 2026
    Autonomous AI agents emerge as the next major cybersecurity risk

    Autonomous AI agents emerge as the next major cybersecurity risk

    6 January 2026
    Lou Gerstner, the man who saved IBM, dies at 83

    Lou Gerstner, the man who saved IBM, dies at 83

    29 December 2025
    Company News
    The tech transformation of sports betting

    The tech transformation of sports betting

    21 January 2026
    How Norton is protecting digital lives in a hostile online world - Avert ITD Avert IT Distribution

    How Norton is protecting digital lives in a hostile online world

    20 January 2026
    Beyond the hype: trust is the first step to generative AI ROI

    Beyond the hype: trust is the first step to generative AI ROI

    19 January 2026
    Opinion
    AI moves from pilots to production in South African companies - Nazia Pillay SAP

    AI moves from pilots to production in South African companies

    20 January 2026
    ANC's attack on Solly Malatsi shows how BEE dogma trumps economic reality - Duncan McLeod

    ANC’s attack on Solly Malatsi shows how BEE dogma trumps economic reality

    14 December 2025
    Netflix, Warner Bros deal raises fresh headaches for MultiChoice - Duncan McLeod

    Netflix, Warner Bros deal raises fresh headaches for MultiChoice

    5 December 2025

    Subscribe to Updates

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

    Latest Posts
    How liberalisation is rewiring South Africa's power sector

    How liberalisation is rewiring South Africa’s power sector

    21 January 2026
    South African digital radio trial is about to go live - Aldred Dreyer

    South African digital radio trial is about to go live

    21 January 2026
    Major change to telco licensing rules in Europe - Henna Virkkunen

    Major change to telco licensing rules in Europe

    21 January 2026
    An inflection point for crypto in South Africa - Hannes Wessels Binance

    An inflection point for crypto in South Africa

    21 January 2026
    © 2009 - 2026 NewsCentral Media
    • 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}