Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashPassword ¶
HashPassword hashes a password using bcrypt with a cost factor of 12
func VerifyMessageSignature ¶
VerifyMessageSignature verifies a Nostr-style message signature This matches the signing logic in the frontend
func VerifyMessageSignatureBTCD ¶
func VerifyMessageSignatureBTCD(pubkeyHex, signatureHex, content, room string, timestamp int64) error
VerifyMessageSignatureBTCD verifies a signature using btcd library This is more compatible with noble-secp256k1
func VerifyPassword ¶
VerifyPassword verifies a password against a bcrypt hash
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.