I am a final year student currently doing my project, the title is "Mitigating man in the middle attacks using ssl+symmetric key algorithm". I would like to create my own encryption algorithm. I need to know that could I write it in C, and how to generate an ssl key and to write an encryption algorithm and then to combine them both?
Asked
Active
Viewed 190 times
1
-
Why do you want to write your own? There are so many good ones already written (and verified). – schroeder Mar 04 '15 at 07:25
-
I'm not sure that you have done much research on your own for this question. Of course encryption algorithms can be written in C - so many existing ones already have libraries in C. – schroeder Mar 04 '15 at 07:28
-
Dave, is that you? – Lucas Kauffman Mar 04 '15 at 07:39
-
actually i would like to do some creativity,by creating my own concept i could learn a lot and i wanna do my project with my own knowlg.... help me on this – vishnuganth Mar 04 '15 at 07:41
-
Then, sure, you have your answer. You can write an encryption algorithm in C. I'm thinking, though, that adding the burden of designing your own algorithm might push back the time it will take to finish your main project. – schroeder Mar 04 '15 at 07:43
1 Answers
0
It is possible to add a symmetric crypto algorithm to OpenSSL. There is an example algorithm called GOST included in modern OpenSSL distributions; this page talks a tiny bit about integrating it from a separate package, which would be a good first step for you if you want to learn how to integrate your own algorithm.
That being said, while this would be a useful and interesting learning tool, never implement your own crypto algorithm for actual secure use.