Hashing Methods Benchmark
[OpenSSL Home][Home]
OpenSSL supports a wide range of hashing methods including BLAKE2b, Gost, MD4, MD5, RMD-160, SHA-1, SHA-3, SHA-256 and SHA-512. This pages provides a benchmark of the supported methods. Note: It will take around four seconds to compute.
|
Outline
So let’s run the command of:
(base) billbuchanan@ASecuritySite benchmark % openssl speed -evp md5 Doing md5 for 3s on 16 size blocks: 10016647 md5's in 3.00s Doing md5 for 3s on 64 size blocks: 7313460 md5's in 2.99s Doing md5 for 3s on 256 size blocks: 3937537 md5's in 2.99s Doing md5 for 3s on 1024 size blocks: 1371272 md5's in 3.00s Doing md5 for 3s on 8192 size blocks: 195140 md5's in 2.99s Doing md5 for 3s on 16384 size blocks: 98368 md5's in 2.99s version: 3.0.8 built on: Tue Feb 7 13:43:33 2023 UTC options: bn(64,64) compiler: clang -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DNDEBUG CPUINFO: OPENSSL_ia32cap=0x298220f4f8b8f15:0x0 The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes md5 53422.12k 156542.29k 337126.91k 468060.84k 534644.44k 539017.16k
For a benchmark, we see that SHA-1 is the fastest method, closely followed by BLAKE2b, SHA512 and SHA384. MD5 is a little slower, and SM3 and SHA3-512 being the slowest.
In the trend we see that the hashing method achieves a higher through as we increase the input data: