Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
noise
✓ github.com/flynn/noise
Creates a Noise handshake state with a cipher suite and pattern.
package main
import (
"fmt"
"github.com/flynn/noise"
)
func main() {
// Example: create a Noise handshake state
cs := noise.NewCipherSuite(noise.DH25519, noise.CipherAESGCM, noise.HashSHA256)
hs, _ := noise.NewHandshakeState(noise.Config{
CipherSuite: cs,
Pattern: noise.HandshakeNN,
Initiator: true,
})
fmt.Println(hs)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.1.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.