- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
13 Posted Topics
Re: you can do: [CODE]global Username Username = raw_input('> ')[/CODE] in the function, and 'Username' will be available for the rest of the program to use | |
Re: why not just [CODE]from random import randint s = hex(randint(0x12c80000, 0x12c8ffff)) if s[-1] == "L": s = s[:-1] [/CODE] | |
Can someone explain how to generate rainbow tables? I know there are plenty of programs like Rainbow Crack that can do it, but I'm not looking for a program to do it. I want to know how to do it myself, like if i had no access to a computer … | |
the rc6 paper say this [CODE]Key schedule for RC6-w/r/b Input: User-supplied b byte key preloaded into the c-word array L[0; ..., c - 1] Number r of rounds Output: w-bit round keys S[0; ..., 2r + 3] Procedure: S[0] = Pw for i = 1 to 2r + 3 do … | |
can anyone tell me what i did wrong with the decryption part of this code? ive been looking at it for some time now (while working on other related stuff), and i cant seem to find the problem with it. its getting really retarded, on my part [B]and this is … | |
hopefully this is the right place to post this: can someone tell me how pgp pub/private keys are formatted? there seems to be a lack of explainations on how to actually read them (and im terribly inept at reading source codes) obviously they are in base 64. i mean beyond … | |
i have a home computer, so why do i have 2 local area connections? ive never had 2 until a few hours ago, when i reformated. ive always only had 1. i have already tried to disable the second on but it wont let me, and if i disable the … | |
how do i get this code to stop referring to its present value, so that the values already saved in the list are not changed to the present value? [CODE] Cm = 0x5A827999; Mm = 0x6ED9EBA1 Cr = 19; Mr = 17 Tm = [[0]*8]*24 Tr = [[0]*8]*24 for i … | |
i cannot find the mistake i made with this code. i have tried many different ways to create ripemd160, but they either don't work or give me wrong outputs. what did i do wrong? [CODE] # makehex() = change the value into a 8 hex char string # ROL i … | |
despite its simplicity, for some reason, my code refuses to work, even though the encryption works [CODE] # add() is just (a+b)%2**32. for some reason, without the function, it doesnt work delta = 0x9e3779b9 sum = 0xc6ef3720 for x in range(cycles): # 32 data[1] = add(-add(data[0]<<4, key[2]) ^ add(data[0], sum) … | |
I wrote my own sha implementations but i cant get them to read files correctly. i know to use [CODE]open(file,'rb').read()[/CODE] as the input into the algorithm, but [CODE]import hashlib hashlib.sha1(open(file,'rb').read()).hexdigest()[/CODE] and my code [CODE]sha_1(open(file,'rb').read())[/CODE] return two different hashes. any idea why? i know that a normal string will have the … | |
Re: which sha2? all of them? i can send you files/links if you want, where i wont get penalized for it |
The End.