proxy.golang.org : gitlab.com/CoiaPrant/encrypted-stream
Package stream is a Golang library that transforms any net.Conn or io.ReadWriter stream to an encrypted and/or authenticated stream. 1. The encrypted stream implements net.Conn and io.ReadWriter and can be used as drop-in replacement. 2. Works with any encryption, authentication, or authenticated encryption algorithm or even arbitrary transformation. Only a cipher that implements encrypt/decrypt needs to be provided. XSalsa20-Poly1305 and AES-GCM are provided as reference cipher. 3. The encrypted stream only adds a small constant memory overhead compared to the original stream. Note: this library does not handle handshake or key exchange. Handshake should be done separately before using this library to compute a shared key.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/gitlab.com/%21coia%21prant/encrypted-stream
License: Apache-2.0
Latest release: over 2 years ago
First release: over 2 years ago
Namespace: gitlab.com/CoiaPrant
Stars: 0 on GitLab.com
Forks: 0 on GitLab.com
See more repository details: repos.ecosyste.ms
Last synced: 3 months ago