Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:crypto [2006/06/08 23:54]
a created crypto stuff
linux:crypto [2010/10/20 11:56] (current)
a
Line 4: Line 4:
    * [[:linux:dm-crypt|Linux dm-crypt]]    * [[:linux:dm-crypt|Linux dm-crypt]]
    * [[:linux:encfs|Linux encfs + fuse]]    * [[:linux:encfs|Linux encfs + fuse]]
 +   * [[:linux:ecryptfs|Linux and use of eCryptfs]]
  
 +**Benchmarking some stuff**:
 +
 +**Plain (RAW partition)**
 +<code>
 +root@mono:/etc# time dd if=/dev/urandom of=/dev/sda1 bs=1M count=100
 +100+0 records in
 +100+0 records out
 +104857600 bytes (105 MB) copied, 25.584 s, 4.1 MB/s
 +
 +real 0m25.589s
 +user 0m0.004s
 +sys 0m25.462s
 +</code>
 +
 +
 +**Blowfish cipher**
 +<code>
 +root@mono:/etc# time dd if=/dev/urandom of=/dev/mapper/swap bs=1M count=100
 +100+0 records in
 +100+0 records out
 +104857600 bytes (105 MB) copied, 28.8699 s, 3.6 MB/s
 +
 +real 0m28.876s
 +user 0m0.000s
 +sys 0m25.918s
 +</code>
 +
 +**AES-256 cipher**
 +<code>
 +/dev/mapper/swap is active:
 +  cipher:  aes-cbc-plain
 +  keysize: 256 bits
 +  device:  /dev/sda1
 +  offset:  0 sectors
 +  size:    4000122 sectors
 +  mode:    read/write
 +
 +root@mono:/etc# time dd if=/dev/urandom of=/dev/mapper/swap bs=1M count=100
 +100+0 records in
 +100+0 records out
 +104857600 bytes (105 MB) copied, 29.0696 s, 3.6 MB/s
 +
 +real 0m29.076s
 +user 0m0.004s
 +sys 0m25.722s
 +
 +</code>
linux/crypto.1149803657.txt.gz ยท Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready