Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > The Zelaron Nexus > The Lounge

 
 
Thread Tools Display Modes

 
Encrypted Thread, Part 2
Reply
Posted 2007-04-25, 01:04 PM
Be017c7bd93f10ea100fbeb0ded64186dd9ecbedbcdbcc4206 e41e12
Old
Profile PM WWW Search
!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics
 
 
!King_Amazon!
 



 
Reply
Posted 2007-04-25, 01:14 PM in reply to !King_Amazon!'s post "Encrypted Thread, Part 2"
Here's the code I came up with for the cipher, I challenge anyone to break our messages.

Code:
static unsigned char etab[256];
static unsigned char tp;

unsigned char genrand();

void setkey(unsigned char *key, int length, unsigned char *iv)
{
    int i;
    for(i = 0; i < 256; i++) {
        etab[i] = i + key[i % length] + length ^ iv[i];
    }
    tp = 0;
    for(i = 0; i < 256; i++) {
       genrand();
    }
}

#define R_ROT(n, r) (((n) >> (r)) | ((n) << (8-(r))))
#define F(x) ((((x) * (x)) << 1) | 1)
unsigned char genrand()
{
    unsigned char r0, r1, k0, k1, k2;

    k0 = etab[tp] + 0x6a;
    k1 = etab[(tp + 1) & 0xff] + 0xf1;
    k2 = etab[(tp + 2) & 0xff] + 0x29;

    r0 = etab[(tp + 3) & 0xff];
    r1 = etab[(tp + 4) & 0xff];

    r0 = R_ROT(r0 ^ r1, F(k1 + r1)) + k0;
    r1 = R_ROT(r1 ^ r0, F(k0 + r0)) + k1 + k0;
    r0 = R_ROT(r0 ^ r1, F(k1 + r1)) + k2;

    tp += 2;

    etab[tp] ^= r1;
    etab[(tp + 1) & 0xff] ^= r0;

    return r0 + r1;
}
#undef R_ROT
#undef F
The code calls setkey with a zero'd iv and with our password. genrand() is then used to XOR our original message. The message is then converted to hex for the forum to use properly.

980B7671D52358F8590CA7E29BCD41878E9CDEE9AC908D440B AD045D554B2DECEA67415728333CC101BC59EB439F81466FFB 2DA35E84812EB4DED9207BCCABD6B65EA5C4C92F95A2F49915 751D847AE9A198AF1D581D3673DF16AB961C80715EFBD17CAE 6A219B96031647EDF47879
Old
Profile PM WWW Search
Mantralord seldom sees opportunities until they cease to beMantralord seldom sees opportunities until they cease to beMantralord seldom sees opportunities until they cease to beMantralord seldom sees opportunities until they cease to be
 
 
Mantralord
 



 
Reply
Posted 2007-04-25, 01:17 PM in reply to Mantralord's post starting "Here's the code I came up with for the..."
A5422c895c93d4f8730e8b6a1e7e26301d29c33d3c96304e39 ff0a02685a4bf9c62db139a1d1892b091917fa4e2575140d32 208c5a8fefabab594a98349d3715ac598e4d3e0cd61f6dd292 380ee6b31a5b935c847e8e019988e9d056914f77868efc35ca 80ac917dd80f9bee51b8c69d72f73500a41651181128c7dd3e 489bdf8b78a7f5ae3a73f7a5f796cfc99cfdd73b9ba85213cb 3775339e4e560ce73a40800ca3eb436b5f2978482ec4953d6a cd5759
Old
Profile PM WWW Search
!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics
 
 
!King_Amazon!
 



 
Reply
Posted 2007-04-25, 01:19 PM in reply to !King_Amazon!'s post starting "A5422c895c93d4f8730e8b6a1e7e26301d29c33d..."
6060516133d5ded2c9969615607326c82bb2f8143c849a1e77 6f3e0c57b9ddeba6654825b0533fd65bd3037b5eb849a790d5 e8c5611c5d544c94d50c6c42e58ee5e61af355c1c4eb40aefa 9a407c752cb2e0efe98d77c0cdb5dc34714291f3364d85daf4 6fde6edb2e6fe076e5ee83468893567c7b02c00dd30b
Old
Profile PM WWW Search
Mantralord seldom sees opportunities until they cease to beMantralord seldom sees opportunities until they cease to beMantralord seldom sees opportunities until they cease to beMantralord seldom sees opportunities until they cease to be
 
 
Mantralord
 



 
Reply
Posted 2007-04-25, 01:22 PM in reply to Mantralord's post starting "6060516133d5ded2c9969615607326c82bb2f814..."
050424f35ca956e53c392e1f72b5849462d4a4d081b0fbee15 dbb4ac8ee223532801ba05565fbe46022fbaef0f1282476e05 21623ff0e78a2eace97e6ac5c04aa22367e91ca2a033c25dee 92baf3f7295374f74f596f1bc3f506bde1a854f9bc6d86dbe3
Old
Profile PM WWW Search
!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics
 
 
!King_Amazon!
 



 
Reply
Posted 2007-04-25, 01:27 PM in reply to !King_Amazon!'s post starting "050424f35ca956e53c392e1f72b5849462d4a4d0..."
Edcf15627909648e8d0ef84a1d2de61a51d510349960b9817c 5bc890215e331417cae6f5d6b4297cf16e00849e6454fd3bca 2576b35aab7d4999613f72b1e4a20cb043a0162eb4022441d6 09a4671e33bfa8812fc921db6ebb0fb80ec0532843ea28e356 3c0cb3fa75d42942c66e305e38b00bd6ac75826d2ffdee56cd e852a17d5990c3b921dbb7af5225745c1a8137405e74
Old
Profile PM WWW Search
Mantralord seldom sees opportunities until they cease to beMantralord seldom sees opportunities until they cease to beMantralord seldom sees opportunities until they cease to beMantralord seldom sees opportunities until they cease to be
 
 
Mantralord
 



 
Reply
Posted 2007-04-26, 02:19 PM in reply to Mantralord's post starting "Here's the code I came up with for the..."
Two things:
1. HAHA your not an admin any more!!

2. Where do you type the text in the code?
<script type="text/javascript">alert("remember when scripting attacks worked?");</script>
Old
Profile PM WWW Search
Asamin has an imagination enthroned in its own recess, incomprehensible as from darknessAsamin has an imagination enthroned in its own recess, incomprehensible as from darknessAsamin has an imagination enthroned in its own recess, incomprehensible as from darkness
 
 
Asamin
 



 
Reply
Posted 2007-04-27, 10:47 AM in reply to Asamin's post starting "Two things: 1. HAHA your not an admin..."
93A0E88FC7828581CA928E09C47F3753FF5E61432339AF8720 9EF71A03E90B90CC6AFC079E6EE3310ADB74EDA1C1F44E66 2D32428A95BE1ED98C1E B8ECB578E986AB9AD9AB07598A3FF66471FEB0151366052B30 A480B0C56ADAD3D91C357E794550F792B0CFD9437657291270 CCA3DF0258598C5BCEA39263526712283F741330430F2F7449 720A2C44674F15E5758598B01692A8007C955DD94278961685 0C24129E5223E147AF876827FE43599542B6D5F699831FE699 D134BFECF9A4F31FB2EFEAA56F03AE5A
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 
Reply
Posted 2007-04-27, 11:53 AM in reply to WetWired's post starting "93A0E88FC7828581CA928E09C47F3753FF5E6143..."
good job wetty
Old
Profile PM WWW Search
Mantralord seldom sees opportunities until they cease to beMantralord seldom sees opportunities until they cease to beMantralord seldom sees opportunities until they cease to beMantralord seldom sees opportunities until they cease to be
 
 
Mantralord
 



 
Reply
Posted 2007-04-27, 11:55 AM in reply to Mantralord's post starting "good job wetty"
Fb290d87dae2c6a7d69e7f73f94aab89c4228dccff3a2a4a28 9b22b4caa96cd31cf90815e98e4f7377c0255eeb09ec9fc113 6f1dff9f56133ff06d0ce01fb1338601534ac1997633b416df 818222365c327430d65c7e78d601ae15f5adbfd3b1282d285a 33c8a6a3c9993c029d089725bf533009a0df564e90cb4970cf aedc7838f5a218d778a5a5f2fe0e692d0bc3b2e36f740b517a d7d5

Last edited by !King_Amazon!; 2007-04-27 at 12:14 PM.
Old
Profile PM WWW Search
!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics!King_Amazon! simplifies with no grasp of the basics
 
 
!King_Amazon!
 



 
Reply
Posted 2007-04-26, 02:43 PM in reply to Mantralord's post starting "Here's the code I came up with for the..."
Nobody cares.
Old
Profile PM WWW Search
Thanatos simplifies with no grasp of the basicsThanatos simplifies with no grasp of the basicsThanatos simplifies with no grasp of the basicsThanatos simplifies with no grasp of the basicsThanatos simplifies with no grasp of the basicsThanatos simplifies with no grasp of the basics
 
 
Thanatos
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 11:17 AM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.