Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Wazapp Public Beta for N9 [0.9.20]

    Reply
    Page 288 of 1103 | Prev | 278   286     287   288   289     290   298 | Next | Last
    Leinad | # 2871 | 2012-08-29, 12:29 | Report

    Originally Posted by knobtviker View Post
    We were not blocked.
    Whatsapp got upgraded and nobody told us when the switch is. :P
    So chill people and wait a bit till we break some code.
    http://talk.maemo.org/showthread.php?t=84605&page=135

    It seems like Yappari ist still working after Whatsapp-Upgrade, so maybe Scorpius got a solution for the problem...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    SamGan | # 2872 | 2012-08-29, 12:30 | Report

    Originally Posted by Zion~ View Post
    Wazapp isn't down. It has been blocked. It can be said that this was a possible wake up call to the devs at whatsapp, probably an official version might be released soon. Who knows; as of now however.. Goodbye wazapp.
    What have you been smoking? It sure produce some nice hallucination!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to SamGan For This Useful Post:
    chenliangchen, ynnad179

     
    Zion~ | # 2873 | 2012-08-29, 12:33 | Report

    Originally Posted by SamGan View Post
    What have you been smoking? It sure produce some nice hallucination!
    lol.. We can at least hope!

    Code:
    import random, base64
    
    __all__ = ['crypt', 'encrypt', 'decrypt']
    
    def crypt(data, key):
        """RC4 algorithm"""
        x = 0
        box = range(256)
        for i in range(256):
            x = (x + box[i] + ord(key[i % len(key)])) % 256
            box[i], box[x] = box[x], box[i]
        x = y = 0
        out = []
        for char in data:
            x = (x + 1) % 256
            y = (y + box[x]) % 256
            box[x], box[y] = box[y], box[x]
            out.append(chr(ord(char) ^ box[(box[x] + box[y]) % 256]))
        
        return ''.join(out)
    
    def encrypt(data, key, encode=base64.standard_b64encode, salt_length=8):
        """RC4 encryption with random salt and final encoding"""
        salt = ''
        for n in range(salt_length):
            salt += chr(random.randrange(256))
        data = salt + crypt(data, key + salt)
        if encode:
            data = encode(data)
        return data
        
    def decrypt(data, key, decode=base64.standard_b64decode, salt_length=8):
        """RC4 decryption of encoded data"""
        if decode:
            data = decode(data)
        salt = data[:salt_length]
        return crypt(data[salt_length:], key + salt)
    
    if __name__ == '__main__':
        for i in range(10):
            data = encrypt('secret message', 'my-key')
            print data
            print decrypt(data, 'my-key')

    Edit | Forward | Quote | Quick Reply | Thanks

     
    sigpro | # 2874 | 2012-08-29, 13:21 | Report

    Originally Posted by knobtviker View Post
    LOL good to know 13 yearolds use N9. It's that intuitive.
    1 semi major issue and we're back in business.
    Good thing that TGalal was prepared for this.
    We were not blocked.
    Whatsapp got upgraded and nobody told us when the switch is. :P
    So chill people and wait a bit till we break some code.
    Thank you for your understanding.

    P.S. I don't care if you are 13. You can still read 2 pages before your post?!
    Don't think I'm mean. This is a community app and 20 pages of 'not connecting.. OMG I'm so emo...' is working against community.

    If someone knows what RC4 is, you'll get a superb chance to be a hero soon, so prepare.
    RC4 encryption huh, is because whatsapp is sending messages encrypted now?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Zion~ | # 2875 | 2012-08-29, 13:26 | Report

    Originally Posted by sigpro View Post
    RC4 encryption huh, is because whatsapp is sending messages encrypted now?
    Messages were always encrypted.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    sigpro | # 2876 | 2012-08-29, 13:51 | Report

    Originally Posted by Zion~ View Post
    Messages were always encrypted.
    No that's not true before it was unencrypted...so plain text.
    Please get your facts right!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    streetster | # 2877 | 2012-08-29, 14:05 | Report

    Originally Posted by Zion~ View Post
    lol.. We can at least hope!

    Code:
    import random, base64
    
    __all__ = ['crypt', 'encrypt', 'decrypt']
    
    def crypt(data, key):
        """RC4 algorithm"""
        x = 0
        box = range(256)
        for i in range(256):
            x = (x + box[i] + ord(key[i % len(key)])) % 256
            box[i], box[x] = box[x], box[i]
        x = y = 0
        out = []
        for char in data:
            x = (x + 1) % 256
            y = (y + box[x]) % 256
            box[x], box[y] = box[y], box[x]
            out.append(chr(ord(char) ^ box[(box[x] + box[y]) % 256]))
        
        return ''.join(out)
    
    def encrypt(data, key, encode=base64.standard_b64encode, salt_length=8):
        """RC4 encryption with random salt and final encoding"""
        salt = ''
        for n in range(salt_length):
            salt += chr(random.randrange(256))
        data = salt + crypt(data, key + salt)
        if encode:
            data = encode(data)
        return data
        
    def decrypt(data, key, decode=base64.standard_b64decode, salt_length=8):
        """RC4 decryption of encoded data"""
        if decode:
            data = decode(data)
        salt = data[:salt_length]
        return crypt(data[salt_length:], key + salt)
    
    if __name__ == '__main__':
        for i in range(10):
            data = encrypt('secret message', 'my-key')
            print data
            print decrypt(data, 'my-key')
    I guess the interesting part is whether we have the key (ie reverse-engineered out of the (latest?) Symbian code, or whether we need someone to work some magic...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Zion~ | # 2878 | 2012-08-29, 14:15 | Report

    Originally Posted by sigpro View Post
    No that's not true before it was unencrypted...so plain text.
    Please get your facts right!
    Is this straight enough for you? https://twitter.com/WhatsApp/status/239100067410227201

    Edit | Forward | Quote | Quick Reply | Thanks

     
    sb0373 | # 2879 | 2012-08-29, 14:25 | Report

    Originally Posted by Zion~ View Post
    Is this straight enough for you? https://twitter.com/WhatsApp/status/239100067410227201
    Yes, it says "some time". Encryption has been started to be implemented into the clients a couple of weeks or months ago, if I remember it right. It definetely was this year.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    chenliangchen | # 2880 | 2012-08-29, 14:56 | Report

    Originally Posted by Zion~ View Post
    Wazapp isn't down. It has been blocked. It can be said that this was a possible wake up call to the devs at whatsapp, probably an official version might be released soon. Who knows; as of now however.. Goodbye wazapp.
    Please dude can you say something that makes sence?

    Please no more jokes!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to chenliangchen For This Useful Post:
    jklubi

     
    Page 288 of 1103 | Prev | 278   286     287   288   289     290   298 | Next | Last
vBulletin® Version 3.8.8
Normal Logout