Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/Crypto/Util/__init__.py: 67%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1#
2# ===================================================================
3# The contents of this file are dedicated to the public domain. To
4# the extent that dedication to the public domain is not available,
5# everyone is granted a worldwide, perpetual, royalty-free,
6# non-exclusive license to exercise all rights associated with the
7# contents of this file for any purpose whatsoever.
8# No rights are reserved.
9#
10# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
11# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
12# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
13# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
14# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
15# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
16# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17# SOFTWARE.
18# ===================================================================
20"""Miscellaneous modules
22Contains useful modules that don't belong into any of the
23other Crypto.* subpackages.
25======================== =============================================
26Module Description
27======================== =============================================
28`Crypto.Util.number` Number-theoretic functions (primality testing, etc.)
29`Crypto.Util.Counter` Fast counter functions for CTR cipher modes.
30`Crypto.Util.RFC1751` Converts between 128-bit keys and human-readable
31 strings of words.
32`Crypto.Util.asn1` Minimal support for ASN.1 DER encoding
33`Crypto.Util.Padding` Set of functions for adding and removing padding.
34======================== =============================================
36:undocumented: _galois, _number_new, cpuid, _bytes, _raw_api
37"""
39__all__ = ["RFC1751", "number", "strxor", "asn1", "Counter", "Padding"]