303 reputation
314
bio website penguincoder.com
location United States
age
visits member for 2 years, 4 months
seen 22 hours ago

You want to know a bit about me?? Run the following code; or not.

from random import shuffle

alphabet="abcdefghijklmnopqrstuvwxyz+!@#$%^&*"
key="&frs^!yo+j*xduieqbgntzvwha%$#mck@lp"

class cipherText:

    @staticmethod
    def encode(key,plaintext):

        randarray=range(0,len(key))
        shuffle(randarray)

        dic={}

        for i in range(0,len(key)):
            dic[key[i]]=alphabet[i]


        ciphertext=""

        for l in plaintext:
            if l in dic.values():
                l=dic[l]
            ciphertext+=l


        return ciphertext,key

    @staticmethod   
    def decode(key,ciphertext,alphabet):
        dic={}
        for i in range(0,len(alphabet)):
            dic[alphabet[i]]=key[i]

        plaintext=""


        for l in ciphertext:
            if l in dic.keys():
                l=dic[l]
            plaintext+=l

        return plaintext


if __name__=="__main__":
    users = {}
    for i in range(1,9999999):
        users["user%s"%(i)] = "I am a programmer. I like to code.... just .. like.. everyone one HERE etc etc"


        if i == 1209423:
            print cipherText.decode(key,"Tyod od duz$%hwpcb&hx. Ewpcghtp xyh yzd z *chbo&p ypcp, "\
            "&o%p&g '&hwpd' uh $hmp ztm uypcpbhcp *nuuots dn$y z duzup#ptu ot z 'roh' od cpz&&g nttpddp$zcgf "\
            "Ppcdhtz&&g, I'# thu z scpzu *chscz##pc rnu I ptjhg z shhm $yz&&ptsp ztm I &hwp &pzctots tpx #puyhmd "\
            "xyo&p *chscz##ots. I z# z dp&b uznsyu Pguyht, PHP, ztm Cii *chscz##pc, z&uyhnsy #hdu hb #g $hmots "\
            "$yh*d &op ot PHP xpr mpwp&h*#ptu.Suo&& ot #g &pzctots duzsp, ztm z&xzgd xo&&ots uh &pzct #hcp. I &hwp "\
            "uyp Pguyhto$ xzg hb $hmots ztm z# yh*ots uh rp$h#p #hcp *chbo$optu ot dn$y #puyhmh&hsg uychnsy *cz$uo$p "\
            "ztm &pzctots ht Suz$% Owpcb&hx.Mhdu hb z&&, I z# z GNU/Lotnl mopyzcm, z Pptsnot xouy z *zddoht ztm *pt$yptu "\
            "bhc *chscz##ots.",alphabet)

            break #The mold. Send an email to know more, or if to just correct my coding.

Jul
2
awarded  Curious
Jun
26
awarded  Notable Question
May
28
awarded  Popular Question
Mar
4
awarded  Popular Question
Mar
2
awarded  Notable Question
Feb
21
awarded  Yearling
Oct
28
awarded  Self-Learner
Oct
8
awarded  Popular Question
Sep
5
awarded  Commentator
Jul
31
awarded  Quorum
Jun
20
awarded  Revival
Jun
6
awarded  Critic
Jun
4
awarded  Editor
Apr
19
awarded  Supporter
Mar
12
awarded  Scholar
Mar
8
awarded  Teacher
Feb
21
awarded  Student