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" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%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 " ">
|
2022-02-07 03:56:21 +08:00
|
|
|
<!ENTITY pycryptodome-md5sum "16c108ba836802808487db2765dc365a">
|
2022-01-24 11:21:54 +08:00
|
|
|
<!ENTITY pycryptodome-size "15 MB">
|
2021-12-08 00:58:53 +08:00
|
|
|
<!ENTITY pycryptodome-buildsize "52 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>
|
|
|
|
|
2022-02-19 11:48:44 +08:00
|
|
|
&lfs111_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>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
2019-09-09 10:57:12 +08:00
|
|
|
User Notes: <ulink url="&blfs-wiki;/pycryptodome"/>
|
2017-03-15 13:35:12 +08:00
|
|
|
</para>
|
|
|
|
</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
|
|
|
|
|
|
|
<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2020-10-09 06:18:31 +08:00
|
|
|
<screen><userinput>python3 setup.py build</userinput></screen>
|
2017-03-15 13:35:12 +08:00
|
|
|
|
|
|
|
<para>
|
2020-10-09 06:18:31 +08:00
|
|
|
To install the module, run the following command as the
|
2017-03-15 13:35:12 +08:00
|
|
|
<systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
2020-10-09 06:18:31 +08:00
|
|
|
<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
|
2017-03-15 13:35:12 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<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>
|
2021-02-10 00:50:09 +08:00
|
|
|
/usr/lib/python&python3-majorver;/site-packages/pycryptodome-&pycryptodome-version;-py&python3-majorver;.egg
|
2017-03-15 13:35:12 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|