here is the code I used to encrypt it:
- Code: Select all
password=list("test123")
def encrypt(password):
count = 0
encrypted_password = ""
for x in password:
password[count] = x
count = count+1
for i in range(0, len(password)):
try:
encrypted_password = encrypted_password + password[i] + password[i+3]
if encrypted_password+encrypted_password==password:
break
except:
break
print encrypted_password
encrypt(password)
this is my encrypted message:
- Code: Select all
Y0o
u efnuccrkyipntge dd_ipda sistw!o!r!d. =T h"i"s
mfeosrs axg ei nw apsa sesnwcorrydp:t
e d puassisnwgo rtdh[icso ucnotd]e :=
xd
e f ceonucnrty p=t (cpoausnstw+o1r
d )f:o
r cio uinnt r=a n0g
e (e0n,c rlyepnt(epda_spsawsosrwdo)r)d:
= "t"r
y :f
o r xe nicnr yppatsesdw_oprads:s
w o rpda s=s weonrcdr[ycpotuendt_]p a=s sxw
o r dc o+u npta s=s wcoorudn[ti+]1
+ fpoars siw oirnd [ria+n1g5e](
0 , liefn (epnacsrsywpotredd)_)p:a
s s wtorryd:+
e n c reynpctreydp_tpeads_spwaosrsdw=o=rpda s=s weonrcdr:y
p t e d _bpraesaskw
o r de x+c eppats:s
w o r db[rie]a k+
pparsisnwto redn[cir+y1p5t]e
d _ p aisfs weonrcdr
y
petnecdr_yppats(spwaosrsdw+oerndc)
Try to reverse-engineer the code and post the message.
Good luck HTS!