Skip to content

This contains the logic for decryption of google pay token using rust crates and is rewrite of https://github.com/yoyowallet/google-pay-token-decryption (written in python)

Notifications You must be signed in to change notification settings

Sakilmostak/Rust-Google-Pay-Token-Decryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Pay Token Decryption (Rust Implementation) 🔐

Rust Version

A Rust implementation for decrypting and verifying Google Pay payment tokens according to Google's encryption specifications.

📱 About Google Pay & Tokenization

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:

  1. Replaces sensitive card details with a unique token
  2. This token is worthless if intercepted
  3. The actual payment details never touch merchant servers

🛡️ Cryptographic Process Flow

         [Encrypted Token]
               |
        1. Parse Structure
               |
        2. Verify Signature
               |
        3. Decrypt Ciphertext

🚀 Getting Started

  # 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

About

This contains the logic for decryption of google pay token using rust crates and is rewrite of https://github.com/yoyowallet/google-pay-token-decryption (written in python)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages