About 54,000 results
Open links in new tab
  1. Is there a better way to mask a Credit Card number in python?

    I am pretty new to python and hacked this up, and it works, but in order to learn I want to know if it could be done easier. Assume that "str" will be a full creditcard number. But for the sake of my …

  2. Securing Credit Card numbers in python using RE - Stack Overflow

    Jun 10, 2015 · I'm trying to mask a credit card number by masking the middle 4 digits with a star. I'm trying to figure this out using RE in python. While i have figured out how to do the above. …

  3. How to Mask a Credit Card Number with Asterisks (*) in Python

    Sep 2, 2024 · Learn how to Mask a Credit Card Number with Asterisks in Python with various approaches and come to know which approach is useful and when.

  4. Mask A Credit Card | Python Example - YouTube

    How to mask a credit card number using Python. Source code: https://github.com/portfoliocourses/python-example-code/blob/main/credit_card_mask.py. …

  5. Mask Sensitive Data using Python Built-in Logging Module

    Jun 4, 2024 · When masking sensitive data in logs, choose regex pattern if the data match common pattern, for example SSN, or credit card. When masking sensitive data (random …

  6. Masking Sensitive Information with Regex - Python-Fiddle

    Masking Sensitive Information with Regex Using regular expressions to mask credit card numbers in text

  7. codewars_python_solutions/7kyuKatas/Credit_Card_Mask.md at …

    Usually when you buy something, you're asked whether your credit card number, phone number or answer to your most secret question is still correct. However, since someone could look …

  8. How to Effectively Mask Credit Card Numbers in Python

    Discover how to mask credit card numbers in Python by keeping the last four digits visible while concealing the rest for privacy and security!---This video i...

  9. annatorok/codewars/python/kyu_7/credit_card_mask.py at …

    Instead, we mask it. # # Your task is to write a function maskify, which changes all but the last four characters into '#'. cc = '4556364607935616' def maskify (cc): new_string = '' if len (cc) > 4: …

  10. Python-Challenges/hide_credit_card_numbers.py at main - GitHub

    Write a function in Python that accepts a credit card number. It should return a string where all the characters are hidden with an asterisk except the last four. For example, if the function gets …

  11. Some results have been removed
Refresh