This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GEMINI_API_KEY= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GOOGLE_CLOUD_LOCATION=global | |
| GOOGLE_CLOUD_PROJECT= | |
| // For Google Cloud Project you need to add your Google Project ID Here. | |
| // You can get the ID by clicking on Project Picket Button on Navbar. A Modal Opens and in the ID Column copy that ID | |
| // paste that Google Cloud Project ID above and you should be fine. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import crypto from 'crypto'; | |
| interface PasswordBreachResult { | |
| isBreached: boolean; | |
| breachCount: number; | |
| } | |
| /** | |
| * Check if a password has been compromised in known data breaches | |
| * Uses HaveIBeenPwned's Pwned Passwords API v3 (k-anonymity model) |