[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" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 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 " ">
|
---|
[5ff076a6] | 9 | <!ENTITY pycryptodome-md5sum "16c108ba836802808487db2765dc365a">
|
---|
[07324c0e] | 10 | <!ENTITY pycryptodome-size "15 MB">
|
---|
[6e8afde] | 11 | <!ENTITY pycryptodome-buildsize "52 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 |
|
---|
[de22bfa] | 34 | &lfs111_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 | <para condition="html" role="usernotes">
|
---|
[ceafde50] | 71 | User Notes: <ulink url="&blfs-wiki;/pycryptodome"/>
|
---|
[82eddd4] | 72 | </para>
|
---|
| 73 | </sect3>
|
---|
| 74 |
|
---|
| 75 | <sect3 role="installation">
|
---|
[ceafde50] | 76 | <title>Installation of PyCryptodome</title>
|
---|
[82eddd4] | 77 |
|
---|
| 78 | <para>
|
---|
[ec047148] | 79 | To build <application>PyCryptodome</application> as a Python 3
|
---|
| 80 | module, run the following command:
|
---|
[82eddd4] | 81 | </para>
|
---|
| 82 |
|
---|
[aa847e3] | 83 | <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
---|
[82eddd4] | 84 |
|
---|
| 85 | <para>
|
---|
[aa847e3] | 86 | To install the module, run the following command as the &root; user:
|
---|
[82eddd4] | 87 | </para>
|
---|
| 88 |
|
---|
[aa847e3] | 89 | <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir pycryptodome</userinput></screen>
|
---|
[82eddd4] | 90 |
|
---|
| 91 | </sect3>
|
---|
| 92 |
|
---|
[00b0be00] | 93 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 94 | href="../../xincludes/pip3-cmd-explain.xml"/>
|
---|
| 95 |
|
---|
[82eddd4] | 96 | <sect3 role="content">
|
---|
| 97 | <title>Contents</title>
|
---|
| 98 |
|
---|
| 99 | <segmentedlist>
|
---|
| 100 | <segtitle>Installed Programs</segtitle>
|
---|
| 101 | <segtitle>Installed Libraries</segtitle>
|
---|
| 102 | <segtitle>Installed Directories</segtitle>
|
---|
| 103 |
|
---|
| 104 | <seglistitem>
|
---|
| 105 | <seg>
|
---|
| 106 | None
|
---|
| 107 | </seg>
|
---|
| 108 | <seg>
|
---|
[2b254ea9] | 109 | None
|
---|
[82eddd4] | 110 | </seg>
|
---|
| 111 | <seg>
|
---|
[aa847e3] | 112 | /usr/lib/python&python3-majorver;/site-packages/pycryptodome-&pycryptodome-version;.dist-info
|
---|
[82eddd4] | 113 | </seg>
|
---|
| 114 | </seglistitem>
|
---|
| 115 | </segmentedlist>
|
---|
| 116 |
|
---|
| 117 | </sect3>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|