Skip to content

Use xoshiro256** in PRNG for better Chi Square

Latest
Compare
Choose a tag to compare
@xtaci xtaci released this 16 Jul 06:17
· 6 commits to master since this release

What's New?

  1. Support for Quantum Permutation Pad for quantum-resistent communication, based on the implementation in https://github.com/xtaci/qpp .
   --QPP                            enable Quantum Permutation Pads(QPP)
   --QPPCount value                 the prime number of pads to use for QPP: The more pads you use, the more secure the encryption. Each pad requires 256 bytes. (default: 61)

Your could also specify

     "qpp":true,
     "qpp-count":61,

in your client and server side json file. These 2 parameters must be identical on both sides.

IMPORTANT NOTE:

  1. To achieve Effective Quantum-Resistance,, specify at least 211 bytes in the -key parameter and ensure -QPPCount is no less than 7.
  2. Make sure -QPPCount is COPRIME(互素) to 8(or simply set to a PRIME number) like:
    101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199...

Building information

$ go version
go version go1.22.5 linux/amd64

$ date
Tue Jul 16 14:12:26 CST 2024

$ ./build-release.sh
Setting GO111MODULE to on
34827e04ea4e792857c4e4f6948f95cd5ae4463c  kcptun-linux-amd64-20240716.tar.gz
d52e43b22d83018f51ba76e6ad2b4b5d46e2befe  kcptun-darwin-amd64-20240716.tar.gz
dd8ab4c0831a32c9e4a5b70707932ac69879c115  kcptun-windows-amd64-20240716.tar.gz
e4dd4e1a670593ea2ede7ca0249d0c64fcb131c0  kcptun-freebsd-amd64-20240716.tar.gz
176e54e844bcb489aac8e1995d9eb5f9f8673418  kcptun-linux-386-20240716.tar.gz
61dfea4805974c2f1382eed99796b67fcb37b443  kcptun-windows-386-20240716.tar.gz
dfaf3d007269fa5f3d3e80f2f7c8761d3712d97d  kcptun-linux-arm5-20240716.tar.gz
38fe9314f40eef20bdb06f09d406768ffc052399  kcptun-linux-arm6-20240716.tar.gz
45008f7d1cec66b982a2db24e92634ac7e3e0d5d  kcptun-linux-arm7-20240716.tar.gz
23a399c1c66ab2b3e63ed6e02701dcee9f142ae3  kcptun-linux-arm64-20240716.tar.gz
21faefafe2299d9cbcce1abdf837f5e5e7498b61  kcptun-darwin-arm64-20240716.tar.gz
c40f2b34df07bfbc769ab2c8f5e2bc27080d9741  kcptun-windows-arm64-20240716.tar.gz
30d0845b70dbb2a60d1e0a80c0b9c0c61b2c5a15  kcptun-linux-mipsle-20240716.tar.gz
51ce1223a24d85aeb08c7d0e89da478f6185c097  kcptun-linux-mips-20240716.tar.gz

New Contributors

Full Changelog: v20240107...v20240716