A Rust implementation for decrypting and verifying Google Pay payment tokens according to Google's encryption specifications.
Google Pay is a digital wallet platform that enables users to:
- Store payment methods securely
- Make contactless payments
- Complete in-app/online purchases
Tokenization is the security process that:
- Replaces sensitive card details with a unique token
- This token is worthless if intercepted
- The actual payment details never touch merchant servers
[Encrypted Token]
|
1. Parse Structure
|
2. Verify Signature
|
3. Decrypt Ciphertext
# Clone repository
git clone https://github.com/Sakilmostak/Rust-Google-Pay-Token-Decryption.git
cd google-pay-decryption
# Run the project
cargo run
The decrypted token would be printed in the terminal