| 1 |
open Crypt_des;; |
| 2 |
open Cryptsystem;; |
| 3 |
open Cryptmodes;; |
| 4 |
let k = prepare (set_parity "abcdefgh");; |
| 5 |
let s = String.make (1024*1024) ' ';; |
| 6 |
|
| 7 |
let x0 = Sys.time() in |
| 8 |
ignore(encrypt_cbc k (0,0,0,0) s); |
| 9 |
print_float (Sys.time() -. x0); |
| 10 |
print_newline() |
| 11 |
;; |