Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mister-leo/fssh
/ RandBytes
Function
RandBytes
internal/crypt/crypt.go:59–63 ·
view source on GitHub ↗
(r io.Reader, n int)
Source
from the content-addressed store, hash-verified
57
}
58
59
func
RandBytes(r io.Reader, n int) ([]byte, error) {
60
b := make([]byte, n)
61
_, err := io.ReadFull(r, b)
62
return
b, err
63
}
Callers
1
SaveEncryptedRecord
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected