Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 '14 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.

I have never heard this – Richie Frame Apr 10 '14 at 9:57
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 '14 at 10:16
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.