Encrypt a memo.

  • Parameters

    • memo: string

      The memo to encrypt (need to start with #).

    • senderPrivateMemoKey: string | PrivateKey

      The private Memo key of the sender.

    • receiverPublicMemoKey: string | PublicKey

      The publicKey Memo key of the recipient.

    Returns string

    The encrypted message.