secureio
Encryption wrapper
An easy-to-use encryption wrapper for Go's io.ReadWriteCloser using ECDH key exchange algorithm and Blake3+Poly1305 checksums
An easy-to-use XChaCha20-encryption wrapper for io.ReadWriteCloser (even lossy UDP) using ECDH key exchange algorithm, ED25519 signatures and Blake3+Poly1305 checksums/message-authentication for Go (golang). Also a multiplexer.
33 stars
3 watching
6 forks
Language: Go
last commit: over 4 years ago
Linked from 3 awesome lists
awesomeblake3cipherecdhed25519encryptencryptiongolanghmacmultiplexerpoly1305pskreadreaderreadwriterstreamudpwrapperwriterxchacha20
Quick start / Limitations and hints | |||
an example for UDP | 33 | over 4 years ago | Does not support traffic fragmentation. If it's required to make it work over UDP then it's required to disable the fragmentation, see |
SessionOptions.MaxPayloadSize | 33 | over 4 years ago | If the underlying writer cannot handle big messages then it's required to adjust |
Security design / Message authentication | |||
concatenation of PacketID and cipherKey XOR-ed | 33 | over 4 years ago | by a |