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 |
|
---|
7 | <!ENTITY pycryptodome-download-http "&pymodules-dl;/p/pycryptodome/pycryptodome-&pycryptodome-version;.tar.gz">
|
---|
8 | <!ENTITY pycryptodome-download-ftp " ">
|
---|
9 | <!ENTITY pycryptodome-md5sum "b157db6959f0d0389aa036a4d26820a8">
|
---|
10 | <!ENTITY pycryptodome-size "11 MB">
|
---|
11 | <!ENTITY pycryptodome-buildsize "105 MB">
|
---|
12 | <!ENTITY pycryptodome-time "0.3 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <!-- Begin pycryptodome -->
|
---|
16 | <sect2 id="pycryptodome" xreflabel="PyCryptodome-&pycryptodome-version;">
|
---|
17 |
|
---|
18 | <title>PyCryptodome-&pycryptodome-version;</title>
|
---|
19 |
|
---|
20 | <indexterm zone="pycryptodome">
|
---|
21 | <primary sortas="a-pycryptodome">pycryptodome</primary>
|
---|
22 | </indexterm>
|
---|
23 |
|
---|
24 | <sect3 role="package">
|
---|
25 | <title>Introduction to the PyCryptodome Module</title>
|
---|
26 |
|
---|
27 | <para>
|
---|
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.
|
---|
32 | </para>
|
---|
33 |
|
---|
34 | &lfs90_checked;
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>
|
---|
40 | Download (HTTP): <ulink url="&pycryptodome-download-http;"/>
|
---|
41 | </para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (FTP): <ulink url="&pycryptodome-download-ftp;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download MD5 sum: &pycryptodome-md5sum;
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download size: &pycryptodome-size;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Estimated disk space required: &pycryptodome-buildsize;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated build time: &pycryptodome-time;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect4">PyCryptodome Dependencies</bridgehead>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect5">Recommended</bridgehead>
|
---|
73 | <para role="recommended">
|
---|
74 | <xref linkend="python2"/>
|
---|
75 | </para>
|
---|
76 |
|
---|
77 | <para condition="html" role="usernotes">
|
---|
78 | User Notes: <ulink url="&blfs-wiki;/pycryptodome"/>
|
---|
79 | </para>
|
---|
80 | </sect3>
|
---|
81 |
|
---|
82 | <sect3 role="installation">
|
---|
83 | <title>Installation of PyCryptodome</title>
|
---|
84 |
|
---|
85 | <note>
|
---|
86 | <para>
|
---|
87 | Both <application>Python 2</application> and
|
---|
88 | <application>Python 3</application> modules can
|
---|
89 | be built and installed without any conflicts.
|
---|
90 | </para>
|
---|
91 | </note>
|
---|
92 |
|
---|
93 | <!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
|
---|
94 |
|
---|
95 | <para>
|
---|
96 | To build the <application>Python 2</application> and
|
---|
97 | <application>Python 3</application> modules, run the following commands:
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <screen><userinput>python2 setup.py build &&
|
---|
101 | python3 setup.py build</userinput></screen>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | To install both modules, run the following commands as the
|
---|
105 | <systemitem class="username">root</systemitem> user:
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <screen role="root"><userinput>python2 setup.py install --optimize=1 &&
|
---|
109 | python3 setup.py install --optimize=1</userinput></screen>
|
---|
110 |
|
---|
111 | </sect3>
|
---|
112 |
|
---|
113 | <sect3 role="content">
|
---|
114 | <title>Contents</title>
|
---|
115 |
|
---|
116 | <segmentedlist>
|
---|
117 | <segtitle>Installed Programs</segtitle>
|
---|
118 | <segtitle>Installed Libraries</segtitle>
|
---|
119 | <segtitle>Installed Directories</segtitle>
|
---|
120 |
|
---|
121 | <seglistitem>
|
---|
122 | <seg>
|
---|
123 | None
|
---|
124 | </seg>
|
---|
125 | <seg>
|
---|
126 | pycryptodome-&pycryptodome-version;-py&python2-majorver;.egg-info and/or
|
---|
127 | pycryptodome-&pycryptodome-version;-py&python3-majorver;.egg-info
|
---|
128 | </seg>
|
---|
129 | <seg>
|
---|
130 | /usr/lib/python&python2-majorver;/site-packages/Crypto and/or
|
---|
131 | /usr/lib/python&python3-majorver;/site-packages/Crypto
|
---|
132 | </seg>
|
---|
133 | </seglistitem>
|
---|
134 | </segmentedlist>
|
---|
135 |
|
---|
136 | </sect3>
|
---|
137 |
|
---|
138 | </sect2>
|
---|
139 | <!--End pycryptodome -->
|
---|