Cardify is a Python web application that provides card number and expiry date validation using encryption technology. The program is built using the PI-HEAAN (Homomorphic Encryption for Arithmetic of Approximate Numbers) library. It allows users to input credit card information through a user-friendly web interface and validates the entered card number and expiry date.
-
Clone the Repository:
git clone https://github.com/jeonghyeonee/Cardify.git
-
Setup Virtual Environment:
python -m venv your_virtual_environment_name your_virtual_environment_name\Scripts\activate pip install -r requirements.txt
-
Clone the Repository:
git clone https://github.com/jeonghyeonee/Cardify.git
-
Setup Virtual Environment:
python3 -m venv your_virtual_environment_name source your_virtual_environment_name/bin/activate pip install -r requirements.txt
-
Run the Web Application:
python app.py
-
Access the Web Interface: Open your web browser and navigate to http://localhost:5000
-
Input Credit Card Information: Follow the prompts on the web page to input the credit card number and expiry date in the specified format.
-
View Validation Result: The program will validate the entered card number and expiry date, determine the card brand, and display the validation result on the web page.
The web interface provides a user-friendly way to input credit card information and view the validation result.
Follow the prompts on the web page to input the credit card number and expiry date in the specified format.
Example:
Card Number: 1234-5678-9012-3456
Expiry Date: 12/25
The validation result will be displayed on the web page, indicating whether the card number and expiry date are valid.