OLD | NEW |
(Empty) | |
| 1 # -*- coding: utf-8 -*- |
| 2 # |
| 3 # =================================================================== |
| 4 # The contents of this file are dedicated to the public domain. To |
| 5 # the extent that dedication to the public domain is not available, |
| 6 # everyone is granted a worldwide, perpetual, royalty-free, |
| 7 # non-exclusive license to exercise all rights associated with the |
| 8 # contents of this file for any purpose whatsoever. |
| 9 # No rights are reserved. |
| 10 # |
| 11 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 12 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 13 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 14 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS |
| 15 # BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
| 16 # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 17 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 18 # SOFTWARE. |
| 19 # =================================================================== |
| 20 |
| 21 """Public-key encryption and signature algorithms. |
| 22 |
| 23 Public-key encryption uses two different keys, one for encryption and |
| 24 one for decryption. The encryption key can be made public, and the |
| 25 decryption key is kept private. Many public-key algorithms can also |
| 26 be used to sign messages, and some can *only* be used for signatures. |
| 27 |
| 28 ======================== ============================================= |
| 29 Module Description |
| 30 ======================== ============================================= |
| 31 Crypto.PublicKey.DSA Digital Signature Algorithm (Signature only) |
| 32 Crypto.PublicKey.ElGamal (Signing and encryption) |
| 33 Crypto.PublicKey.RSA (Signing, encryption, and blinding) |
| 34 ======================== ============================================= |
| 35 |
| 36 :undocumented: _DSA, _RSA, _fastmath, _slowmath, pubkey |
| 37 """ |
| 38 |
| 39 __all__ = ['RSA', 'DSA', 'ElGamal'] |
| 40 __revision__ = "$Id$" |
| 41 |
OLD | NEW |