crash.software
Projects
Pull Requests
Issues
Builds
dnstt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dnstt
Files
🤬
Sign In
master
ROOT
/
noise
/
noise.go
Search
History
286 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
KeyLen
cipherSuite
readMessage
(r io.Reader)
:
([]byte, error)
writeMessage
(w io.Writer, msg []byte)
:
error
socket
recvPipe
:
*io.PipeReader
sendCipher
:
*noise.CipherState
io.ReadWriteCloser
newSocket
(rwc io.ReadWriteCloser, recvCipher, sendCipher *noise.CipherState)
:
*socket
newConfig
(initiator bool)
:
noise.Config
NewClient
(rwc io.ReadWriteCloser, serverPubkey []byte)
:
(io.ReadWriteCloser, error)
NewServer
(rwc io.ReadWriteCloser, serverPrivkey, serverPubkey []byte)
:
(io.ReadWriteCloser, error)
GenerateKeypair
()
:
(privkey, pubkey []byte, err error)
PubkeyFromPrivkey
(privkey []byte)
:
[]byte
ReadKey
(r io.Reader)
:
([]byte, error)
WriteKey
(w io.Writer, key []byte)
:
error
DecodeKey
(s string)
:
([]byte, error)
EncodeKey
(key []byte)
:
string
*socket
Read
(p []byte)
:
(int, error)
Write
(p []byte)
:
(int, error)
All occurrences
Please wait...
Page is in error, reload to recover