| | |
Twofish Crypto algorithm
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
>> Gee, what more do you want?
A clickable link would be nice. I don't want to have to copy and paste again, Salem!
A clickable link would be nice. I don't want to have to copy and paste again, Salem!
•
•
Join Date: Aug 2006
Posts: 20
Reputation:
Solved Threads: 0
I want a source code which can be input with plaintext and output with ciphertext. The twofish source code in scheneier website do not provide an input but come out with a lot of txt file. I just want to parallelize the twofish source code with openmp. How for me to use the twofish code in schneier website cause it seems like do not provide any input of plaintext.
Since that was the reference implementation, meaning it's written for clarity rather than performance, then I guess you're stuck.
IMO, you need to spend more time looking at the code you have, and really trying to understand how it works. If something seems especially complicated, try rewriting it, and then use the test suite to make sure it still works.
This is weeks of work, not come back within a day "is there something simpler".
> Which part shuld be parallelize.
I dunno, it's your idea - what did you have in mind when you started this plan in motion?
My guess would be to look for outer-most for loops which operate on independent blocks of data. If twofish uses one block as part of the seed for the next block, then I don't think this idea will work out. Again, do you know how twofish works for this to even be possible?
IMO, you need to spend more time looking at the code you have, and really trying to understand how it works. If something seems especially complicated, try rewriting it, and then use the test suite to make sure it still works.
This is weeks of work, not come back within a day "is there something simpler".
> Which part shuld be parallelize.
I dunno, it's your idea - what did you have in mind when you started this plan in motion?
My guess would be to look for outer-most for loops which operate on independent blocks of data. If twofish uses one block as part of the seed for the next block, then I don't think this idea will work out. Again, do you know how twofish works for this to even be possible?
![]() |
Other Threads in the C++ Forum
- Previous Thread: linked list
- Next Thread: how to identify which OS I am using
| Thread Tools | Search this Thread |
Tag cloud for C++
api application array arrays based beginner binary bmp c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete deploy developer display dll dynamiccharacterarray email encryption error file format forms fstream function functions game generator givemetehcodez graph homeworkhelp iamthwee ifstream image input int java lib list loop looping loops map math matrix memory multiple newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg simple sorting spoonfeeding string strings struct template templates text tree url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets






