Files
bitchat/bitchat/Noise/README.md
T
Nadim Kobeissi 09a319fb0f Initial work on adding Noise test vectors
I only became aware halfway through working on these that
`bitchatTests/Noise` exists, so the next step is to integrate them over
there.
2025-11-18 18:44:57 +02:00

526 B

Unnamed Noise_XX_25519_ChaChaPoly_SHA256 Implementation in Swift

Running Tests

This implementation comes with a bare-minimum test harness, intended to ensure that it at least passes the test vectors as stipulated by both cacophony and snow.

In order to run the tests:

swiftc -o NoiseTestRunner -D NOISE_TESTS NoiseTestRunner.swift NoiseProtocol.swift ../Utils/Data+SHA256.swift ../Protocols/BinaryEncodingUtils.swift
./NoiseTestRunner
rm NoiseTestRunner