You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crypt/examples.html
+8-12
Original file line number
Diff line number
Diff line change
@@ -290,7 +290,7 @@ <h2>RC2 is a Block Cipher</h2>
290
290
<divid="speed" class="aes rijndael">
291
291
<divclass="cbc ecb">
292
292
<h2>Speed Comparisons</h2>
293
-
<p>The following table compares the speed of five different pure-PHP implementations of AES (one of which is Crypt_Rijndael and one of which is Crypt_AES) when ran on 1MB of text on a 1.73GHz Intel Core i7-820QM with PHP 5.4.3. The numbers listed are averaged from five different trials and are measured in seconds. phpseclib's two implementations are highlighted. All implementations can be viewed by clicking on their names.</p>
293
+
<p>The following table compares the speed of five different pure-PHP implementations of AES when ran on 1MB of text on an Intel Core i5-3320M CPU @ 2.6GHz with PHP 5.5.3. The numbers listed are averaged from two different trials and are measured in seconds. phpseclib's implementation is highlighted. All implementations can be viewed by clicking on their names and the table was generated with <ahref="benchmark.phps">benchmark.phps</a>.</p>
<p>As can be seen, phpseclib's implementations are the fastest. phpseclib-aes.phps is faster than phpseclib-rijndael.phps because phpseclib-rijndael.phps has to contend with multiple block sizes whereas phpseclib-aes.phps does not. Note that if mcrypt weren't explicitily disabled phpseclib would have been even faster.</p>
324
+
<p>As can be seen, phpseclib's implementations are the fastest. Note that if mcrypt weren't explicitily disabled phpseclib would have been even faster.</p>
0 commit comments