Files
unibus/cmd/chat/identity.go
T

10 lines
295 B
Go

package main
import cs "fn-registry/functions/cybersecurity"
// newEphemeralIdentity generates an in-memory identity for the encrypted demo
// (not persisted to disk — the demo creates fresh peers each run).
func newEphemeralIdentity() (cs.Identity, error) {
return cs.GenerateIdentity()
}