You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method is deprecated and may be removed in the future.
862
860
863
-
Requests that MetaMask decrypt the specified encrypted message.
864
-
The message must have been encrypted using the public encryption key of the specified Ethereum address.
861
+
Requests that MetaMask decrypt the specified encrypted message.
862
+
The message must have been encrypted using the public encryption key of the specified Ethereum address.
865
863
Returns a promise that resolves to the decrypted message, or rejects if the decryption attempt fails.
866
864
params:
867
865
- name: EncryptedMessage
@@ -886,7 +884,7 @@ methods:
886
884
- name: decryptExample
887
885
params:
888
886
- name: decryptParameter
889
-
value:
887
+
value:
890
888
- '0x4B0897b0513FdBeEc7C469D9aF4fA6C0752aBea7'
891
889
- '0xDeaDbeefdEAdbeefdEadbEEFdeadbeefDEADbEEF'
892
890
result:
@@ -901,8 +899,8 @@ methods:
901
899
description: |-
902
900
This method is deprecated and may be removed in the future.
903
901
904
-
Requests that the user share their public encryption key.
905
-
Returns a public encryption key, or rejects if the user denies the request.
902
+
Requests that the user share their public encryption key.
903
+
Returns a public encryption key, or rejects if the user denies the request.
906
904
The public key is computed from entropy associated with the specified user account, using the NaCl implementation of the `X25519_XSalsa20_Poly1305` algorithm.
0 commit comments