| 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 | """Miscellaneous modules |
| 22 | |
| 23 | Contains useful modules that don't belong into any of the |
| 24 | other Crypto.* subpackages. |
| 25 | |
| 26 | ======================== ============================================= |
| 27 | Module Description |
| 28 | ======================== ============================================= |
| 29 | `Crypto.Util.number` Number-theoretic functions (primality testing, etc.) |
| 30 | `Crypto.Util.Counter` Fast counter functions for CTR cipher modes. |
| 31 | `Crypto.Util.RFC1751` Converts between 128-bit keys and human-readable |
| 32 | strings of words. |
| 33 | `Crypto.Util.asn1` Minimal support for ASN.1 DER encoding |
| 34 | `Crypto.Util.Padding` Set of functions for adding and removing padding. |
| 35 | ======================== ============================================= |
| 36 | |
| 37 | :undocumented: _galois, _number_new, cpuid, py3compat, _raw_api |
| 38 | """ |
| 39 | |
| 40 | __all__ = ['RFC1751', 'number', 'strxor', 'asn1', 'Counter', 'Padding'] |
| 41 |