- 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.3 linux/amd64
BUILDING GRASSHOPPER v1.1.5
Setting GO111MODULE to on
a169b2b631817d8a7f77194216a5248e3b7c6f4f grasshopper-linux-amd64-v1.1.5.tar.gz
c1389e963519e0bab64941ef08ec04cba8952add grasshopper-freebsd-amd64-v1.1.5.tar.gz
47d0ad8463e609c62825c7e4916cc62f94d89b05 grasshopper-linux-arm-v1.1.5.tar.gz
722f4bc01fe020400f84e714c3db3b68984778b1 grasshopper-linux-arm64-v1.1.5.tar.gz
2875e4eb522eb7924a50553cb0046806c877093f grasshopper-linux-mips-v1.1.5.tar.gz
8a0cff796dcded641e62299baa7ee3b8514ad708 grasshopper-darwin-amd64-v1.1.5.tar.gz
Full Changelog: v1.1.3...v1.1.4