MCPcopy Index your code
hub / github.com/nirui/sshwifty / privateKey

Method privateKey

application/controller/socket.go:280–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278}
279
280func (s socket) privateKey() string {
281 if len(s.commonCfg.SharedKey) > 0 {
282 return s.commonCfg.SharedKey
283 }
284
285 return s.randomKey
286}
287
288func (s socket) buildCipherKey() [16]byte {
289 key := [16]byte{}

Callers 1

buildCipherKeyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected