-
-
Save ilyakam/cdb846e6f5eac941b563705be4762453 to your computer and use it in GitHub Desktop.
Obfuscated Source Code Experiment - Boilerplate
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
| const SimpleCrypto = require('simple-crypto-js').default; | |
| const secret = 'hunter2'; | |
| const simpleCrypto = new SimpleCrypto(secret); | |
| const secretFunction = // anything | |
| const encryptedCode = simpleCrypto.encrypt(secretFunction.toString()); | |
| console.info('Update the value of `encryptedCode` on the serverless platform:') | |
| console.info(encryptedCode); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment