This file is indexed.

/usr/share/doc/python-gdata-doc/pydocs/gdata.tlslite.utils.rijndael.html is in python-gdata-doc 2.0.18+dfsg1-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module gdata.tlslite.utils.rijndael</title>
<meta charset="utf-8">
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="gdata.html"><font color="#ffffff">gdata</font></a>.<a href="gdata.tlslite.html"><font color="#ffffff">tlslite</font></a>.<a href="gdata.tlslite.utils.html"><font color="#ffffff">utils</font></a>.rijndael</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/lib/python2.7/dist-packages/gdata/tlslite/utils/rijndael.py">/usr/lib/python2.7/dist-packages/gdata/tlslite/utils/rijndael.py</a></font></td></tr></table>
    <p><tt>A&nbsp;pure&nbsp;python&nbsp;(slow)&nbsp;implementation&nbsp;of&nbsp;<a href="#rijndael">rijndael</a>&nbsp;with&nbsp;a&nbsp;decent&nbsp;interface<br>
&nbsp;<br>
To&nbsp;include&nbsp;-<br>
&nbsp;<br>
from&nbsp;<a href="#rijndael">rijndael</a>&nbsp;import&nbsp;<a href="#rijndael">rijndael</a><br>
&nbsp;<br>
To&nbsp;do&nbsp;a&nbsp;key&nbsp;setup&nbsp;-<br>
&nbsp;<br>
r&nbsp;=&nbsp;<a href="#rijndael">rijndael</a>(key,&nbsp;block_size&nbsp;=&nbsp;16)<br>
&nbsp;<br>
key&nbsp;must&nbsp;be&nbsp;a&nbsp;string&nbsp;of&nbsp;length&nbsp;16,&nbsp;24,&nbsp;or&nbsp;32<br>
blocksize&nbsp;must&nbsp;be&nbsp;16,&nbsp;24,&nbsp;or&nbsp;32.&nbsp;Default&nbsp;is&nbsp;16<br>
&nbsp;<br>
To&nbsp;use&nbsp;-<br>
&nbsp;<br>
ciphertext&nbsp;=&nbsp;r.<a href="#-encrypt">encrypt</a>(plaintext)<br>
plaintext&nbsp;=&nbsp;r.<a href="#-decrypt">decrypt</a>(ciphertext)<br>
&nbsp;<br>
If&nbsp;any&nbsp;strings&nbsp;are&nbsp;of&nbsp;the&nbsp;wrong&nbsp;length&nbsp;a&nbsp;ValueError&nbsp;is&nbsp;thrown</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="copy.html">copy</a><br>
<a href="exceptions.html">exceptions</a><br>
</td><td width="25%" valign=top><a href="os.html">os</a><br>
<a href="string.html">string</a><br>
</td><td width="25%" valign=top><a href="warnings.html">warnings</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="gdata.tlslite.utils.rijndael.html#rijndael">rijndael</a>
</font></dt></dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="rijndael">class <strong>rijndael</strong></a></font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="rijndael-__init__"><strong>__init__</strong></a>(self, key, block_size<font color="#909090">=16</font>)</dt></dl>

<dl><dt><a name="rijndael-decrypt"><strong>decrypt</strong></a>(self, ciphertext)</dt></dl>

<dl><dt><a name="rijndael-encrypt"><strong>encrypt</strong></a>(self, plaintext)</dt></dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-decrypt"><strong>decrypt</strong></a>(key, block)</dt></dl>
 <dl><dt><a name="-encrypt"><strong>encrypt</strong></a>(key, block)</dt></dl>
 <dl><dt><a name="-test"><strong>test</strong></a>()</dt></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>S</strong> = [99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, ...]<br>
<strong>Si</strong> = [82, 9, 106, 213, 48, 54, 165, 56, 191, 64, 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, ...]<br>
<strong>T1</strong> = [3328402341L, 4168907908L, 4000806809L, 4135287693L, 4294111757L, 3597364157L, 3731845041L, 2445657428L, 1613770832, 33620227, 3462883241L, 1445669757, 3892248089L, 3050821474L, 1303096294, 3967186586L, 2412431941L, 528646813, 2311702848L, 4202528135L, ...]<br>
<strong>T2</strong> = [2781242211L, 2230877308L, 2582542199L, 2381740923L, 234877682, 3184946027L, 2984144751L, 1418839493, 1348481072, 50462977, 2848876391L, 2102799147, 434634494, 1656084439, 3863849899L, 2599188086L, 1167051466, 2636087938L, 1082771913, 2281340285L, ...]<br>
<strong>T3</strong> = [1671808611, 2089089148, 2006576759, 2072901243, 4061003762L, 1807603307, 1873927791, 3310653893L, 810573872, 16974337, 1739181671, 729634347, 4263110654L, 3613570519L, 2883997099L, 1989864566, 3393556426L, 2191335298L, 3376449993L, 2106063485, ...]<br>
<strong>T4</strong> = [1667474886, 2088535288, 2004326894, 2071694838, 4075949567L, 1802223062, 1869591006, 3318043793L, 808472672, 16843522, 1734846926, 724270422, 4278065639L, 3621216949L, 2880169549L, 1987484396, 3402253711L, 2189597983L, 3385409673L, 2105378810, ...]<br>
<strong>T5</strong> = [1374988112, 2118214995, 437757123, 975658646, 1001089995, 530400753, 2902087851L, 1273168787, 540080725, 2910219766L, 2295101073L, 4110568485L, 1340463100, 3307916247L, 641025152, 3043140495L, 3736164937L, 632953703, 1172967064, 1576976609, ...]<br>
<strong>T6</strong> = [1347548327, 1400783205, 3273267108L, 2520393566L, 3409685355L, 4045380933L, 2880240216L, 2471224067L, 1428173050, 4138563181L, 2441661558L, 636813900, 4233094615L, 3620022987L, 2149987652L, 2411029155L, 1239331162, 1730525723, 2554718734L, 3781033664L, ...]<br>
<strong>T7</strong> = [2807058932L, 1699970625, 2764249623L, 1586903591, 1808481195, 1173430173, 1487645946, 59984867, 4199882800L, 1844882806, 1989249228, 1277555970, 3623636965L, 3419915562L, 1149249077, 2744104290L, 1514790577, 459744698, 244860394, 3235995134L, ...]<br>
<strong>T8</strong> = [4104605777L, 1097159550, 396673818, 660510266, 2875968315L, 2638606623L, 4200115116L, 3808662347L, 821712160, 1986918061, 3430322568L, 38544885, 3856137295L, 718002117, 893681702, 1654886325, 2975484382L, 3122358053L, 3926825029L, 4274053469L, ...]<br>
<strong>U1</strong> = [0, 235474187, 470948374, 303765277, 941896748, 908933415, 607530554, 708780849, 1883793496, 2118214995, 1817866830, 1649639237, 1215061108, 1181045119, 1417561698, 1517767529, 3767586992L, 4003061179L, 4236429990L, 4069246893L, ...]<br>
<strong>U2</strong> = [0, 185469197, 370938394, 487725847, 741876788, 657861945, 975451694, 824852259, 1483753576, 1400783205, 1315723890, 1164071807, 1950903388, 2135319889, 1649704518, 1767536459, 2967507152L, 3152976349L, 2801566410L, 2918353863L, ...]<br>
<strong>U3</strong> = [0, 218828297, 437656594, 387781147, 875313188, 958871085, 775562294, 590424639, 1750626376, 1699970625, 1917742170, 2135253587, 1551124588, 1367295589, 1180849278, 1265195639, 3501252752L, 3720081049L, 3399941250L, 3350065803L, ...]<br>
<strong>U4</strong> = [0, 151849742, 303699484, 454499602, 607398968, 758720310, 908999204, 1059270954, 1214797936, 1097159550, 1517440620, 1400849762, 1817998408, 1699839814, 2118541908, 2001430874, 2429595872L, 2581445614L, 2194319100L, 2345119218L, ...]<br>
<strong>num_rounds</strong> = {16: {16: 10, 24: 12, 32: 14}, 24: {16: 12, 24: 12, 32: 14}, 32: {16: 14, 24: 14, 32: 14}}<br>
<strong>rcon</strong> = [1, 2, 4, 8, 16, 32, 64, 128, 27, 54, 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, ...]<br>
<strong>shifts</strong> = [[[0, 0], [1, 3], [2, 2], [3, 1]], [[0, 0], [1, 5], [2, 4], [3, 3]], [[0, 0], [1, 7], [3, 5], [4, 4]]]</td></tr></table>
</body></html>