- optimize performance for QPP encryption
BenchmarkSM4
BenchmarkSM4-32 56096 21166 ns/op 141.74 MB/s 0 B/op 0 allocs/op
BenchmarkAES128
BenchmarkAES128-32 623137 1921 ns/op 1561.81 MB/s 0 B/op 0 allocs/op
BenchmarkAES192
BenchmarkAES192-32 575502 2124 ns/op 1412.49 MB/s 0 B/op 0 allocs/op
BenchmarkAES256
BenchmarkAES256-32 519087 2326 ns/op 1289.68 MB/s 0 B/op 0 allocs/op
BenchmarkTEA
BenchmarkTEA-32 151045 7851 ns/op 382.10 MB/s 0 B/op 0 allocs/op
BenchmarkBlowfish
BenchmarkBlowfish-32 72630 16492 ns/op 181.90 MB/s 0 B/op 0 allocs/op
BenchmarkCast5
BenchmarkCast5-32 67479 17854 ns/op 168.03 MB/s 0 B/op 0 allocs/op
Benchmark3DES
Benchmark3DES-32 18738 65559 ns/op 45.76 MB/s 0 B/op 0 allocs/op
BenchmarkTwofish
BenchmarkTwofish-32 58575 20563 ns/op 145.90 MB/s 0 B/op 0 allocs/op
BenchmarkXTEA
BenchmarkXTEA-32 47004 25614 ns/op 117.12 MB/s 0 B/op 0 allocs/op
BenchmarkSalsa20
BenchmarkSalsa20-32 535470 2108 ns/op 1423.13 MB/s 0 B/op 0 allocs/op
BenchmarkQPP
BenchmarkQPP-32 520754 2335 ns/op 1284.56 MB/s 352 B/op 6 allocs/op
$go version
go version go1.23.4 linux/amd64
BUILDING GRASSHOPPER v1.1.5
Setting GO111MODULE to on
a6b228d042d1093cb1af074bdb8a3280f7878121 grasshopper-linux-amd64-v1.1.5.tar.gz
6491bd61e61e57664715393c7bc8e94b33efa547 grasshopper-freebsd-amd64-v1.1.5.tar.gz
93c147c5f7da438a5c1c9f1c17cf168869f2ca51 grasshopper-linux-arm-v1.1.5.tar.gz
92ff923ef05cf281de0717e536f11dd1d2801ae4 grasshopper-linux-arm64-v1.1.5.tar.gz
0d41d2bb4a58daa4ef750578c088ed1cdf68ed6d grasshopper-linux-mips-v1.1.5.tar.gz
7b490c8202ef5695821f8199d60747c93a1aea49 grasshopper-darwin-amd64-v1.1.5.tar.gz
Full Changelog: v1.1.4...v1.1.5