CryptoBase.SpeedTest 8.0.0

dotnet tool install --global CryptoBase.SpeedTest --version 8.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local CryptoBase.SpeedTest --version 8.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CryptoBase.SpeedTest&version=8.0.0
                    
nuke :add-package CryptoBase.SpeedTest --version 8.0.0
                    

Speed test

cryptobase-speedtest measures the speed of the CryptoBase algorithms on your machine. It is a .NET tool, so it needs the .NET SDK.

# Run it once without installing.
dnx CryptoBase.SpeedTest

# Or install it.
dotnet tool install -g CryptoBase.SpeedTest

Usage

# Every algorithm.
cryptobase-speedtest

# Some algorithms: names, patterns with * and ?, or group names.
cryptobase-speedtest sha256 'aes-*' kem

# Input sizes of 1 KiB and 1 MiB, one second per cell, eight threads.
cryptobase-speedtest aead -b 1k 1m -s 1 -t 8

# Decryption instead of encryption.
cryptobase-speedtest aead --decrypt

# Markdown tables, or a JSON document.
cryptobase-speedtest hash -f markdown
cryptobase-speedtest hash -f json > hash.json

Algorithms that process data report MiB/s at each input size, and the others, such as signatures and key exchanges, operations per second.

Each run starts with the runtime, the processor and the instruction sets in use, so include it when you share results.

The default 0.5-second warm-up is a minimum. On the JIT, it also waits for compilation activity to stop, with a longer quiet window when the process has only one processor available. This is a heuristic, not a guarantee that every method has reached its final compilation tier. Use --warmup to increase the minimum, or --warmup 0 to skip it.

Other commands

# The algorithms with their groups and operations.
cryptobase-speedtest list

# The runtime, the processor and its instruction sets in full.
cryptobase-speedtest info

# Check every workload once instead of measuring.
cryptobase-speedtest --test

# Every option.
cryptobase-speedtest --help

Native AOT

The tool runs on the JIT. To measure the speeds under Native AOT, publish benchmark/CryptoBase.SpeedTest from the source with PublishAot.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
8.0.0 67 11/15/2026