2017-03-15 13:35:12 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2022-09-16 00:18:59 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../../general.ent">
|
2017-03-15 13:35:12 +08:00
|
|
|
%general-entities;
|
|
|
|
|
2020-06-26 01:56:34 +08:00
|
|
|
<!ENTITY pycryptodome-download-http "https://github.com/Legrandin/pycryptodome/archive/v&pycryptodome-version;/pycryptodome-&pycryptodome-version;.tar.gz">
|
2019-09-09 10:57:12 +08:00
|
|
|
<!ENTITY pycryptodome-download-ftp " ">
|
2023-05-23 08:15:25 +08:00
|
|
|
<!ENTITY pycryptodome-md5sum "37301ba099375e05db0dfb4d1800d6fe">
|
2022-06-26 04:52:19 +08:00
|
|
|
<!ENTITY pycryptodome-size "16 MB">
|
2023-01-30 15:04:04 +08:00
|
|
|
<!ENTITY pycryptodome-buildsize "54 MB">
|
2021-02-10 00:50:09 +08:00
|
|
|
<!ENTITY pycryptodome-time "0.1 SBU">
|
2017-03-15 13:35:12 +08:00
|
|
|
]>
|
|
|
|
|
2019-09-09 10:57:12 +08:00
|
|
|
<!-- Begin pycryptodome -->
|
|
|
|
<sect2 id="pycryptodome" xreflabel="PyCryptodome-&pycryptodome-version;">
|
2017-03-15 13:35:12 +08:00
|
|
|
|
2019-09-09 10:57:12 +08:00
|
|
|
<title>PyCryptodome-&pycryptodome-version;</title>
|
2017-03-15 13:35:12 +08:00
|
|
|
|
2019-09-09 10:57:12 +08:00
|
|
|
<indexterm zone="pycryptodome">
|
|
|
|
<primary sortas="a-pycryptodome">pycryptodome</primary>
|
2017-03-15 13:35:12 +08:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect3 role="package">
|
2019-09-09 10:57:12 +08:00
|
|
|
<title>Introduction to the PyCryptodome Module</title>
|
2017-03-15 13:35:12 +08:00
|
|
|
|
|
|
|
<para>
|
2019-09-09 10:57:12 +08:00
|
|
|
<application>PyCryptodome</application> is a collection of both secure
|
|
|
|
hash functions (such as SHA256 and RIPEMD160), and various encryption
|
|
|
|
algorithms (AES, DES, RSA, ElGamal, etc.), and is a drop-in replacement
|
|
|
|
for PyCrypto.
|
2017-03-15 13:35:12 +08:00
|
|
|
</para>
|
|
|
|
|
2023-08-18 01:39:01 +08:00
|
|
|
&lfs120_checked;
|
2017-03-15 13:35:12 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2019-09-09 10:57:12 +08:00
|
|
|
Download (HTTP): <ulink url="&pycryptodome-download-http;"/>
|
2017-03-15 13:35:12 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2019-09-09 10:57:12 +08:00
|
|
|
Download (FTP): <ulink url="&pycryptodome-download-ftp;"/>
|
2017-03-15 13:35:12 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2019-09-09 10:57:12 +08:00
|
|
|
Download MD5 sum: &pycryptodome-md5sum;
|
2017-03-15 13:35:12 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2019-09-09 10:57:12 +08:00
|
|
|
Download size: &pycryptodome-size;
|
2017-03-15 13:35:12 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2019-09-09 10:57:12 +08:00
|
|
|
Estimated disk space required: &pycryptodome-buildsize;
|
2017-03-15 13:35:12 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2019-09-09 10:57:12 +08:00
|
|
|
Estimated build time: &pycryptodome-time;
|
2017-03-15 13:35:12 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 role="installation">
|
2019-09-09 10:57:12 +08:00
|
|
|
<title>Installation of PyCryptodome</title>
|
2017-03-15 13:35:12 +08:00
|
|
|
|
|
|
|
<para>
|
2020-10-09 06:18:31 +08:00
|
|
|
To build <application>PyCryptodome</application> as a Python 3
|
|
|
|
module, run the following command:
|
2017-03-15 13:35:12 +08:00
|
|
|
</para>
|
|
|
|
|
2023-09-11 07:13:10 +08:00
|
|
|
&build-wheel;
|
2017-03-15 13:35:12 +08:00
|
|
|
|
|
|
|
<para>
|
2022-04-20 10:39:57 +08:00
|
|
|
To install the module, run the following command as the &root; user:
|
2017-03-15 13:35:12 +08:00
|
|
|
</para>
|
|
|
|
|
2023-09-11 07:13:10 +08:00
|
|
|
<screen role="root"><userinput>&install-wheel; pycryptodome</userinput></screen>
|
2017-03-15 13:35:12 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
2022-04-20 11:22:10 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2022-09-16 00:18:59 +08:00
|
|
|
href="../../../xincludes/pip3-cmd-explain.xml"/>
|
2022-04-20 11:22:10 +08:00
|
|
|
|
2017-03-15 13:35:12 +08:00
|
|
|
<sect3 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2021-02-10 00:50:09 +08:00
|
|
|
None
|
2017-03-15 13:35:12 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2022-11-04 19:24:09 +08:00
|
|
|
/usr/lib/python&python3-majorver;/site-packages/Crypto
|
2022-04-20 10:39:57 +08:00
|
|
|
/usr/lib/python&python3-majorver;/site-packages/pycryptodome-&pycryptodome-version;.dist-info
|
2017-03-15 13:35:12 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|