Posted March 13, 200817 yr Hi people , I wrote a few ciphers in (M)ASM , these are:GRAIN,ICE,KASUMI,MERCY,MESH,PLAYFAIR.My request:can anybody test it on his OS ? I have tested it on W2k but maybe it would not work on other OS. Edit: Ok , i dropped the ripped ciphers out and I will revise them. Edit2: -revised version of KASUMI -new cipher: Camellia Edit3: -new cipher: FROG Edited April 28, 200817 yr by Soul
March 14, 200817 yr KeyInitialization proc cache:DWORD,szKey:DWORD,szKeylength:DWORD,szIVlength:DWORDADD ESP,4MOV EAX,DWORD PTR SS:[ESP+4h]MOV ECX,DWORD PTR SS:[ESP+8h]MOV EDX,DWORD PTR SS:[ESP+0Ch]MOV DWORD PTR DS:[EAX+280h],ECXMOV ECX,DWORD PTR SS:[ESP+10h]MOV DWORD PTR DS:[EAX+284h],EDXMOV DWORD PTR DS:[EAX+288h],ECXLEAVERETN KeyInitialization ENDPpretty bad coding m8, u sure u know what you're doing...?firstly its a proc that takes params.. so it should end in a ret, considering it has an ebp frameleave isnt needed either.. and the add esp,4 at the top makes no sense what so evershould be like...KeyInitialization proc cache:DWORD,szKey:DWORD,szKeylength:DWORD,szIVlength:DWORDMOV EAX, [cache]MOV ECX, [szKey]MOV EDX, [szKeylength]MOV DWORD PTR DS:[EAX+280h],ECXMOV ECX,DWORD PTR SS:[szIVlength]MOV DWORD PTR DS:[EAX+284h],EDXMOV DWORD PTR DS:[EAX+288h],ECXRETKeyInitialization ENDPlooks better.. no? Edited March 14, 200817 yr by evlncrn8
March 14, 200817 yr Suggests to me that its ripped from some other app? Perhaps CrypTool?Did you code these or are they pulled from somewhere else?
March 14, 200817 yr He gives the info himself: Ripped from C-SourceRegards, Soul Tho it's more like from C assembly than from source.Yes I think it could (should) be cleaned a bit more. More than ever, if routines are short. Often it's not hard to even optimize em then. Nevertheless thanks for the efforts Hard to find sources for uncommon crypt n hash ****.. Edited March 14, 200817 yr by Ufo-Pu55y
March 14, 200817 yr Author pretty bad coding m8, u sure u know what you're doing...? He gives the info himself:QUOTE Ripped from C-Source Regards, Soul Thx Yeah it's correct , 3 of the sources are 100% ripped (KASUMI,MERCY,GRAIN) , the other (ICE,MESH,PLAYFAIR) are made by me himself.But thanks for response. ^^ Edited March 14, 200817 yr by Soul
March 14, 200817 yr ripped pretty damned badly... nice idea, but i'd seriously revise the code to show you actually have an understanding of the ciphers / cypher (depending on your personal spelling preference) and havent just kludged this together to look leet.. the ripping of c->asm can be done considerably better... out of curiousity, what program did you use to do the ripping? Edited March 14, 200817 yr by evlncrn8
March 14, 200817 yr Author ripped pretty damned badly... nice idea, but i'd seriously revise the code to show you actually have an understanding of the ciphers / cypher (depending on your personal spelling preference) and havent just kludged this together to look leet.. the ripping of c->asm can be done considerably better... out of curiousity, what program did you use to do the ripping? Well , you said it , it was a idea and 3 of them are ripped only.I used OllyDbg nothing more.But if you wish , you can make it better Edited March 14, 200817 yr by Soul
Create an account or sign in to comment