summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2010-02-05 10:36:53 +0100
committerSybren A. Stüvel <sybren@stuvel.eu>2010-02-05 10:36:53 +0100
commit35eb5f61e17bc4e968523cfc96b9b1d066954feb (patch)
tree1c10a71b6fbed2c4fadaad27233a5810974e4b21
parentfd5eab722113e04dec0e6461f30d57ee24a40402 (diff)
downloadrsa-git-35eb5f61e17bc4e968523cfc96b9b1d066954feb.tar.gz
Added security warning
-rw-r--r--rsa/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/rsa/__init__.py b/rsa/__init__.py
index 77db33e..701cf23 100644
--- a/rsa/__init__.py
+++ b/rsa/__init__.py
@@ -3,6 +3,12 @@ pri = k[1] //Private part of keys d,p,q
Module for calculating large primes, and RSA encryption, decryption,
signing and verification. Includes generating public and private keys.
+
+WARNING: this code implements the mathematics of RSA. It is not suitable for
+real-world secure cryptography purposes. It has not been reviewed by a security
+expert. It does not include padding of data. There are many ways in which the
+output of this module, when used without any modification, can be sucessfully
+attacked.
"""
__author__ = "Sybren Stuvel, Marloes de Boer and Ivo Tamboer"