Documentation ¶ Index ¶ func Hash(secret string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Hash ¶ func Hash(secret string) string Hash returns the SHA-256 hex digest of the given secret, normalized to lowercase with whitespace trimmed. Used for storing and looking up invite secrets without persisting the secret itself. Types ¶ This section is empty. Source Files ¶ View all Source files joincode.go Click to show internal directories. Click to hide internal directories.