RSSAmplifier

myCFML Developer Blog - Articles · Apr 19, 2025

maskCC UDF - Strips all credit card variations from a string. Useful when sending/storing user-submitted data in order to remain compliant with VISA Payment Card Industry Data Security Standard (PCI DSS) requirements

0
Sign in to vote or save

This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.

The maskCC user-defined function (UDF) takes a text string as input, searches for patterns that resemble credit card numbers, attempts to validate these potential numbers using ColdFusion&apos&#x3b;s built-in credit card validation, and then masks the validated numbers by replacing all but the last four digits with asterisks.

Read on mycfml.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.