Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

why is it recommended to write cryptography programs ,for example crypt-analysis projects with python programming language? what is the advantages of python? why not use c or any other language?

share|improve this question

closed as primarily opinion-based by e-sushi, Gilles, archie, DrLecter, figlesquidge Apr 12 at 13:42

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
I have never heard this –  Richie Frame Apr 10 at 9:57
7  
There are some nice libraries for python, such as SAGE or Charm and it's a high level language so it's good for producing working programs quickly. On the other hand it sucks for high performance and side channel resistant crypto implementations. So it's nice for research but not for production crypto. –  CodesInChaos Apr 10 at 10:16

1 Answer 1

up vote 2 down vote accepted

In general there is no such recommendation. Python is quiet useful for quick prototyping, but is generally very slow. Too slow to do any expensive computations. However, you can, for instance, write you core analysis functions in c and then use them in your python analysis tools. This is actually a quiet common method of going about things.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.