Skip to content

Hide Replit Code Hide your replit code with 2 simple steps!

Notifications You must be signed in to change notification settings

Hazza3100/HideReplitCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Hide Replit Code

Hide your replit code with 2 simple steps!

Usage

    * Create a repl
    * Go to https://www.base64encode.org/ and encode your code
    * Create a secret enviroment called `SECRET_ENV`
    * Paste the example code below into main.py
    * Copy the encoded base64 string and paste it as the value for `SECRET_ENV`
    * Import required modules
    * Run main.py
    * Your code is hidden and works!

Example Code

import os
import base64

SECRET_ENV = os.environ['SECRET_ENV']
exec(base64.b64decode(SECRET_ENV))

Screenshot

About

Hide Replit Code Hide your replit code with 2 simple steps!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages