Created
March 26, 2020 09:12
-
-
Save artyom/6b71a0603aef4c9cb47a4f79d84980ec to your computer and use it in GitHub Desktop.
cryptsetup benchmark
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
artyom@rpi:~ $ sudo cryptsetup benchmark | |
# Tests are approximate using memory only (no storage IO). | |
PBKDF2-sha1 359593 iterations per second for 256-bit key | |
PBKDF2-sha256 539390 iterations per second for 256-bit key | |
PBKDF2-sha512 261359 iterations per second for 256-bit key | |
PBKDF2-ripemd160 266136 iterations per second for 256-bit key | |
PBKDF2-whirlpool 47489 iterations per second for 256-bit key | |
argon2i 4 iterations, 230664 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time) | |
argon2id 4 iterations, 240514 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time) | |
# Algorithm | Key | Encryption | Decryption | |
aes-cbc 128b 46.3 MiB/s 77.3 MiB/s | |
serpent-cbc 128b N/A N/A | |
twofish-cbc 128b N/A N/A | |
aes-cbc 256b 36.6 MiB/s 58.4 MiB/s | |
serpent-cbc 256b N/A N/A | |
twofish-cbc 256b N/A N/A | |
aes-xts 256b 85.6 MiB/s 74.7 MiB/s | |
serpent-xts 256b N/A N/A | |
twofish-xts 256b N/A N/A | |
aes-xts 512b 65.8 MiB/s 56.9 MiB/s | |
serpent-xts 512b N/A N/A | |
twofish-xts 512b N/A N/A |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment