[82eddd4] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[5fe69261] | 4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
[82eddd4] | 5 | %general-entities;
|
---|
| 6 |
|
---|
[44ce01f] | 7 | <!ENTITY pycryptodome-download-http "https://github.com/Legrandin/pycryptodome/archive/v&pycryptodome-version;/pycryptodome-&pycryptodome-version;.tar.gz">
|
---|
[ceafde50] | 8 | <!ENTITY pycryptodome-download-ftp " ">
|
---|
[31c9e2a6] | 9 | <!ENTITY pycryptodome-md5sum "37301ba099375e05db0dfb4d1800d6fe">
|
---|
[4a056fe] | 10 | <!ENTITY pycryptodome-size "16 MB">
|
---|
[8cc2fe70] | 11 | <!ENTITY pycryptodome-buildsize "54 MB">
|
---|
[2b254ea9] | 12 | <!ENTITY pycryptodome-time "0.1 SBU">
|
---|
[82eddd4] | 13 | ]>
|
---|
| 14 |
|
---|
[ceafde50] | 15 | <!-- Begin pycryptodome -->
|
---|
| 16 | <sect2 id="pycryptodome" xreflabel="PyCryptodome-&pycryptodome-version;">
|
---|
[82eddd4] | 17 |
|
---|
[ceafde50] | 18 | <title>PyCryptodome-&pycryptodome-version;</title>
|
---|
[82eddd4] | 19 |
|
---|
[ceafde50] | 20 | <indexterm zone="pycryptodome">
|
---|
| 21 | <primary sortas="a-pycryptodome">pycryptodome</primary>
|
---|
[82eddd4] | 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect3 role="package">
|
---|
[ceafde50] | 25 | <title>Introduction to the PyCryptodome Module</title>
|
---|
[82eddd4] | 26 |
|
---|
| 27 | <para>
|
---|
[ceafde50] | 28 | <application>PyCryptodome</application> is a collection of both secure
|
---|
| 29 | hash functions (such as SHA256 and RIPEMD160), and various encryption
|
---|
| 30 | algorithms (AES, DES, RSA, ElGamal, etc.), and is a drop-in replacement
|
---|
| 31 | for PyCrypto.
|
---|
[82eddd4] | 32 | </para>
|
---|
| 33 |
|
---|
[282a0eb] | 34 | &lfs120_checked;
|
---|
[82eddd4] | 35 |
|
---|
| 36 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
[ceafde50] | 40 | Download (HTTP): <ulink url="&pycryptodome-download-http;"/>
|
---|
[82eddd4] | 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
[ceafde50] | 45 | Download (FTP): <ulink url="&pycryptodome-download-ftp;"/>
|
---|
[82eddd4] | 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
[ceafde50] | 50 | Download MD5 sum: &pycryptodome-md5sum;
|
---|
[82eddd4] | 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
[ceafde50] | 55 | Download size: &pycryptodome-size;
|
---|
[82eddd4] | 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
[ceafde50] | 60 | Estimated disk space required: &pycryptodome-buildsize;
|
---|
[82eddd4] | 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
[ceafde50] | 65 | Estimated build time: &pycryptodome-time;
|
---|
[82eddd4] | 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | </sect3>
|
---|
| 71 |
|
---|
| 72 | <sect3 role="installation">
|
---|
[ceafde50] | 73 | <title>Installation of PyCryptodome</title>
|
---|
[82eddd4] | 74 |
|
---|
| 75 | <para>
|
---|
[ec047148] | 76 | To build <application>PyCryptodome</application> as a Python 3
|
---|
| 77 | module, run the following command:
|
---|
[82eddd4] | 78 | </para>
|
---|
| 79 |
|
---|
[db244ae2] | 80 | &build-wheel;
|
---|
[82eddd4] | 81 |
|
---|
| 82 | <para>
|
---|
[aa847e3] | 83 | To install the module, run the following command as the &root; user:
|
---|
[82eddd4] | 84 | </para>
|
---|
| 85 |
|
---|
[db244ae2] | 86 | <screen role="root"><userinput>&install-wheel; pycryptodome</userinput></screen>
|
---|
[82eddd4] | 87 |
|
---|
| 88 | </sect3>
|
---|
| 89 |
|
---|
[00b0be00] | 90 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[5fe69261] | 91 | href="../../../xincludes/pip3-cmd-explain.xml"/>
|
---|
[00b0be00] | 92 |
|
---|
[82eddd4] | 93 | <sect3 role="content">
|
---|
| 94 | <title>Contents</title>
|
---|
| 95 |
|
---|
| 96 | <segmentedlist>
|
---|
| 97 | <segtitle>Installed Programs</segtitle>
|
---|
| 98 | <segtitle>Installed Libraries</segtitle>
|
---|
| 99 | <segtitle>Installed Directories</segtitle>
|
---|
| 100 |
|
---|
| 101 | <seglistitem>
|
---|
| 102 | <seg>
|
---|
| 103 | None
|
---|
| 104 | </seg>
|
---|
| 105 | <seg>
|
---|
[2b254ea9] | 106 | None
|
---|
[82eddd4] | 107 | </seg>
|
---|
| 108 | <seg>
|
---|
[72c62e4] | 109 | /usr/lib/python&python3-majorver;/site-packages/Crypto
|
---|
[aa847e3] | 110 | /usr/lib/python&python3-majorver;/site-packages/pycryptodome-&pycryptodome-version;.dist-info
|
---|
[82eddd4] | 111 | </seg>
|
---|
| 112 | </seglistitem>
|
---|
| 113 | </segmentedlist>
|
---|
| 114 |
|
---|
| 115 | </sect3>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|