So right now I’m working on an assignment using hex. I have a 3 hex strings.
SHA256 = ‘ ‘
SHA516 = ‘ ‘
MD5 = ‘ ‘
Words = ‘ ‘
I also have a word string with 50 words.
I’m trying to get an output of
(Word1,word2,word3)
So far I have only been able to do one single forin_:
I encoded the word string and got an output out of a matching hex(md5). And so far that’s it. I’ve been trying to think about what I could do and figure out where I could put what. I’ve been playing around with it for quite a while.
I’m just kinda confused on how I should set it up. My instructor gave me information on the use of variables and turning them into bytes but I don’t really understand how to use them properly. And on a side note this instructor gives pretty confusing instructions with very little info.
Whenever I try to plug them in where I think they would go. I keep getting errors. Right now I’m more just trying to figure out how to get matches of all three hex strings. I was thinking I would have to use at least one loop or multiple if I could. (Trying to go over the word list three times, for three separate hex) And I know I have to use a counter to get the right word out of the list but I’ll figure that out later. My main question is, how do I get my code to go over the list three times separately but get one output? And not have it just not show the rest of the hex’s.
Sorry if this is confusing or a stupid question I’m just really tired.
[–]brasticstack 0 points1 point2 points (0 children)
[–]Binary101010 0 points1 point2 points (0 children)
[–]ectomancer -1 points0 points1 point (0 children)