65 object |
65 object |
66 <h3>Class Attributes</h3> |
66 <h3>Class Attributes</h3> |
67 <table> |
67 <table> |
68 <tr><td>KeySize</td></tr><tr><td>Rcon</td></tr><tr><td>rsbox</td></tr><tr><td>sbox</td></tr> |
68 <tr><td>KeySize</td></tr><tr><td>Rcon</td></tr><tr><td>rsbox</td></tr><tr><td>sbox</td></tr> |
69 </table> |
69 </table> |
|
70 <h3>Class Methods</h3> |
|
71 <table> |
|
72 <tr><td>None</td></tr> |
|
73 </table> |
70 <h3>Methods</h3> |
74 <h3>Methods</h3> |
71 <table> |
75 <table> |
72 <tr> |
76 <tr> |
73 <td><a href="#AES.__addRoundKey">__addRoundKey</a></td> |
77 <td><a href="#AES.__addRoundKey">__addRoundKey</a></td> |
74 <td>Private method to add (XORs) the round key to the state.</td> |
78 <td>Private method to add (XORs) the round key to the state.</td> |
128 <td>Public method to decrypt a 128 bit input block against the given key of size specified.</td> |
132 <td>Public method to decrypt a 128 bit input block against the given key of size specified.</td> |
129 </tr><tr> |
133 </tr><tr> |
130 <td><a href="#AES.encrypt">encrypt</a></td> |
134 <td><a href="#AES.encrypt">encrypt</a></td> |
131 <td>Public method to encrypt a 128 bit input block against the given key of size specified.</td> |
135 <td>Public method to encrypt a 128 bit input block against the given key of size specified.</td> |
132 </tr> |
136 </tr> |
|
137 </table> |
|
138 <h3>Static Methods</h3> |
|
139 <table> |
|
140 <tr><td>None</td></tr> |
133 </table> |
141 </table> |
134 <a NAME="AES.__addRoundKey" ID="AES.__addRoundKey"></a> |
142 <a NAME="AES.__addRoundKey" ID="AES.__addRoundKey"></a> |
135 <h4>AES.__addRoundKey</h4> |
143 <h4>AES.__addRoundKey</h4> |
136 <b>__addRoundKey</b>(<i>state, roundKey</i>) |
144 <b>__addRoundKey</b>(<i>state, roundKey</i>) |
137 <p> |
145 <p> |
517 object |
525 object |
518 <h3>Class Attributes</h3> |
526 <h3>Class Attributes</h3> |
519 <table> |
527 <table> |
520 <tr><td>ModeOfOperation</td></tr><tr><td>aes</td></tr> |
528 <tr><td>ModeOfOperation</td></tr><tr><td>aes</td></tr> |
521 </table> |
529 </table> |
|
530 <h3>Class Methods</h3> |
|
531 <table> |
|
532 <tr><td>None</td></tr> |
|
533 </table> |
522 <h3>Methods</h3> |
534 <h3>Methods</h3> |
523 <table> |
535 <table> |
524 <tr> |
536 <tr> |
525 <td><a href="#AESModeOfOperation.__extractBytes">__extractBytes</a></td> |
537 <td><a href="#AESModeOfOperation.__extractBytes">__extractBytes</a></td> |
526 <td>Private method to extract a range of bytes from the input.</td> |
538 <td>Private method to extract a range of bytes from the input.</td> |
529 <td>Public method to perform the decryption operation.</td> |
541 <td>Public method to perform the decryption operation.</td> |
530 </tr><tr> |
542 </tr><tr> |
531 <td><a href="#AESModeOfOperation.encrypt">encrypt</a></td> |
543 <td><a href="#AESModeOfOperation.encrypt">encrypt</a></td> |
532 <td>Public method to perform the encryption operation.</td> |
544 <td>Public method to perform the encryption operation.</td> |
533 </tr> |
545 </tr> |
|
546 </table> |
|
547 <h3>Static Methods</h3> |
|
548 <table> |
|
549 <tr><td>None</td></tr> |
534 </table> |
550 </table> |
535 <a NAME="AESModeOfOperation.__extractBytes" ID="AESModeOfOperation.__extractBytes"></a> |
551 <a NAME="AESModeOfOperation.__extractBytes" ID="AESModeOfOperation.__extractBytes"></a> |
536 <h4>AESModeOfOperation.__extractBytes</h4> |
552 <h4>AESModeOfOperation.__extractBytes</h4> |
537 <b>__extractBytes</b>(<i>input, start, end, mode</i>) |
553 <b>__extractBytes</b>(<i>input, start, end, mode</i>) |
538 <p> |
554 <p> |