RECENT POSTS
- Introduction to FreeBSD Security Best Practices
- Working with Package Management in FreeBSD
- Understanding FreeBSD Security Advisories and Updates
- Troubleshooting Common System Administration Issues in FreeBSD
- Tips for Hardening FreeBSD to achieve System Protection
- Setting Up DHCP Server in FreeBSD
- Secure User and Group Management in FreeBSD Systems
- Secure Remote Access with SSH in FreeBSD
- Optimizing System Performance in FreeBSD
- Network Packet Capture with tcpdump in FreeBSD
- All posts ...
Do you have GDPR compliance issues ?
Check out Legiscope a GDPR compliance software, that will save you weeks of work, automating your documentation, the training of your teams and all processes you need to keep your organisation compliant with privacy regulations
P5-business-creditcard
Jul 20, 2023
Perl5 module to validate/generate credit card checksums/names
These subroutines tell you whether a credit card number is self-consistent – whether the last digit of the number is a valid checksum for the preceding digits.
The validate subroutine returns 1 if the card number provided passes the checksum test, and 0 otherwise.
The cardtype subroutine returns a string containing the type of card “MasterCard”, “VISA”, and so on. My list is not complete; I welcome additions.
The generate_last_digit subroutine computes and returns the last digit of the card given the preceding digits. With a 16-digit card, you provide the first 15 digits; the subroutine returns the sixteenth.
- Older
- Newer
Checkout these related ports:
- Xtrader - Technical analysis program for financial instruments
- Weberp - Open-Source Web-Based ERP System
- Venice - Merchant Of Venice, a stock market trading program
- Trytond28_timesheet - Tryton Application Platform (Timesheet Module)
- Trytond28_stock_supply_production - Tryton Application Platform (Stock Supply Production Module)
- Trytond28_stock_supply_forecast - Tryton Application Platform (Stock Supply Forecast Module)
- Trytond28_stock_supply_day - Tryton Application Platform (Stock Supply Day Module)
- Trytond28_stock_supply - Tryton Application Platform (Stock Supply Module)
- Trytond28_stock_split - Tryton Application Platform (Stock Split Module)
- Trytond28_stock_product_location - Tryton Application Platform (Stock Product Location Module)
- Trytond28_stock_lot - Tryton Application Platform (Stock Lot Module)
- Trytond28_stock_location_sequence - Tryton Application Platform (Stock Location Sequence Module)
- Trytond28_stock_inventory_location - Tryton Application Platform (Stock Inventory Location Module)
- Trytond28_stock_forecast - Tryton Application Platform (Stock Forecast Module)
- Trytond28_stock - Tryton Application Platform (Stock Module)