| | |
Twofish Crypto algorithm
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 |
api application array based binary bitmap c# c++ c/c++ char class classes code coding compile compression console conversion count cpm delete deploy deque desktop developer dialog directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer introductory java lib linkedlist linkednodes linker loop looping loops map math matrix memory multiple news node numbertoword output parameter pointer problem program programming project python random read recursion reference rpg security sorting string strings temperature template test text text-file tree url variable vector video whyisthiscodecausingsegmentationfault win32 windows winsock wordfrequency wxwidgets






