- Preparing search index...
- The search index is not available
tonconnect
Properties
Readonly
sessionId
sessionId: string
Methods
decrypt
- decrypt(message: Uint8Array, senderPublicKey: Uint8Array): string
-
Parameters
-
message: Uint8Array
-
senderPublicKey: Uint8Array
Returns string
encrypt
- encrypt(message: string, receiverPublicKey: Uint8Array): Uint8Array
-
Parameters
-
message: string
-
receiverPublicKey: Uint8Array
Returns Uint8Array