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 """Cryptographic protocols |
| 22 |
| 23 Implements various cryptographic protocols. (Don't expect to find |
| 24 network protocols here.) |
| 25 |
| 26 Crypto.Protocol.AllOrNothing |
| 27 Transforms a message into a set of message blocks, such that the blocks |
| 28 can be recombined to get the message back. |
| 29 |
| 30 Crypto.Protocol.Chaffing |
| 31 Takes a set of authenticated message blocks (the wheat) and adds a number |
| 32 of randomly generated blocks (the chaff). |
| 33 |
| 34 Crypto.Protocol.KDF |
| 35 A collection of standard key derivation functions. |
| 36 |
| 37 :undocumented: __revision__ |
| 38 """ |
| 39 |
| 40 __all__ = ['AllOrNothing', 'Chaffing', 'KDF'] |
| 41 __revision__ = "$Id$" |
OLD | NEW |