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
      Hyperscalers ate my next computer

      Hyperscalers ate my next computer

      8 May 2026
      Major African telco postpones mobile money listing

      Major African telco postpones mobile money listing

      8 May 2026
      Cabinet approves new permanent Sita board, ending years of turmoil - State IT Agency

      Cabinet approves new permanent Sita board, ending years of turmoil

      8 May 2026
      A 12-year-old competition case lands on Canal+'s desk - Altech Node

      A 12-year-old competition case lands on Canal+’s desk

      8 May 2026
      Why South Africa is Zoho's third-fastest-growing market - Andrew Bourne

      Why South Africa is Zoho’s third-fastest-growing market

      8 May 2026
    • World
      OpenAI's new audio APIs aim for conversational voice agents

      OpenAI’s new audio APIs aim for conversational voice agents

      8 May 2026
      'It was my idea': Musk claims paternity of OpenAI - Elon Musk

      ‘It was my idea’: Musk claims paternity of OpenAI

      29 April 2026
      Pivotal week for US tech stocks

      Pivotal week for US tech stocks

      28 April 2026
      Worries over OpenAI's growth as Anthropic gains ground - Sam Altman. Shelby Tauber/Reuters

      Worries over OpenAI’s growth as Anthropic gains ground

      28 April 2026
      Taylor Swift trademarks her voice to fight AI fakes

      Taylor Swift trademarks her voice to fight AI fakes

      28 April 2026
    • In-depth
      Alfa's electric rebel - Alfa Romeo Junior Elettrica Veloce

      Alfa’s electric rebel

      29 April 2026
      Africa switches on as Europe dims the lights

      Africa switches on as Europe dims the lights

      9 April 2026
      The biggest untapped EV market on Earth is hiding in plain sight

      The biggest untapped EV market on Earth is hiding in plain sight

      1 April 2026
      Datatec is firing on all cylinders - Jens Montanana

      The R16-billion tech giant hiding in plain sight

      26 March 2026
      The last generation of coders

      The last generation of coders

      18 February 2026
    • TCS
      Michael Rossouw

      TCS+ | The retirement decision most South Africans get wrong

      6 May 2026
      TCS | The Cape Town start-up listening for TB with AI - Braden van Breda

      TCS | The Cape Town start-up listening for TB with AI

      4 May 2026

      TCS+ | ‘The ISP for ISPs’: Vox’s shift to wholesale aggregator

      20 April 2026
      TCS | Werner Lindemann on how AI is rewriting the infosec rulebook

      TCS | Werner Lindemann on how AI is rewriting the infosec rulebook

      15 April 2026
      TCS | Donovan Marsh on AI and the future of filmmaking

      TCS | Donovan Marsh on AI and the future of filmmaking

      7 April 2026
    • Opinion
      Free calls, dead voice and Shameel Joosub's Spanish ghost - Duncan McLeod

      Free calls, dead voice and Shameel Joosub’s Spanish ghost

      22 April 2026
      The conflict of interest at the heart of PayShap's slow adoption - Cheslyn Jacobs

      The conflict of interest at the heart of PayShap’s slow adoption

      26 March 2026
      South Africa's energy future hinges on getting wheeling right - Aishah Gire

      South Africa’s energy future hinges on getting wheeling right

      10 March 2026
      Free calls, dead voice and Shameel Joosub's Spanish ghost - Duncan McLeod

      Apple just dropped a bomb on the Windows world

      5 March 2026
      R230-million in the bag for Endeavor's third Harvest Fund - Alison Collier

      VC’s centre of gravity is shifting – and South Africa is in the frame

      3 March 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
      • 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
      • 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
      • Motoring
      • Policy and regulation
      • 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

    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

    South Africa Inc must wake up to quantum threat - Phumzile Madonsela

    South Africa Inc must wake up to quantum threat

    7 April 2026
    Claude Code triggers IBM's worst day in 25 years

    Claude Code triggers IBM’s worst day in 25 years

    24 February 2026
    The next wave: 10 technologies that will define 2026

    The next wave: 10 technologies that will define 2026

    7 January 2026
    Company News
    Your databases are being watched - just not by you - Ascent Technology Johan Lambert

    Your databases are being watched – just not by you

    8 May 2026
    Hexion deploys 30 petabyte sovereign data archive in South Africa

    Hexion deploys 30 petabyte sovereign data archive in South Africa

    7 May 2026
    We're hiring: TechCentral is looking for technology journalists

    We’re hiring: TechCentral is looking for technology journalists

    6 May 2026
    Opinion
    Free calls, dead voice and Shameel Joosub's Spanish ghost - Duncan McLeod

    Free calls, dead voice and Shameel Joosub’s Spanish ghost

    22 April 2026
    The conflict of interest at the heart of PayShap's slow adoption - Cheslyn Jacobs

    The conflict of interest at the heart of PayShap’s slow adoption

    26 March 2026
    South Africa's energy future hinges on getting wheeling right - Aishah Gire

    South Africa’s energy future hinges on getting wheeling right

    10 March 2026

    Subscribe to Updates

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

    Latest Posts
    Hyperscalers ate my next computer

    Hyperscalers ate my next computer

    8 May 2026
    Major African telco postpones mobile money listing

    Major African telco postpones mobile money listing

    8 May 2026
    Cabinet approves new permanent Sita board, ending years of turmoil - State IT Agency

    Cabinet approves new permanent Sita board, ending years of turmoil

    8 May 2026
    Your databases are being watched - just not by you - Ascent Technology Johan Lambert

    Your databases are being watched – just not by you

    8 May 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}