Documentation ¶
Index ¶
- func ConvertKeyFromStringToByte(key string) (x [32]byte, err error)
- func Decrypt(recipientPrivateKey, senderPublicKey [32]byte, message string) (string, error)
- func Encrypt(senderPrivateKey, recipientPublicKey [32]byte, message string) (string, error)
- func PublicKeyNaCl(decentralizedIdentifier string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertKeyFromStringToByte ¶
ConvertKeyFromStringToByte converts a key from string type to byte type
func PublicKeyNaCl ¶
PublicKeyNaCl returns a public key in NaCl form by a DID
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.