Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SaadAhla/Shellcode-Hide
/ Encode
Function
Encode
2 - Encoding/2 - Custom Encoding/customEncoder.py:4–11 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
2
import
sys
3
4
def
Encode(data):
5
cipherText =
""
6
for
i in range(len(data)):
7
if
i % 2 == 0:
8
cipherText += chr(data[i]+1)
9
else
:
10
cipherText += chr(data[i]+2)
11
return
cipherText
12
13
14
def
printCiphertext(ciphertext):
Callers
1
customEncoder.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected