التوقيع والتحقق من الرسائل

تعمل حافظات داش عن طريق تخزين المفاتيح الخاصة بشكل آمن لتكوين معاملات باستخدام عناوين مرئية بشكل عام على دفتر أستاذ موزع يسمى بلوكشين. في بعض الحالات ، قد يكون من الضروري التحقق من عنوان لإثبات التحكم في الأموال التي تحتفظ بها ، أو يمكنك تلقيها باستخدام العنوان ، أو حتى التحقق من هويتك إلى عملية تبادل سبق لها أن شهدت معاملة من هذا العنوان. لتجنب هجمات التصيد الاحتيالي ، يجب توخي الحذر الشديد عند إرسال رسائل موقعة إلى الأطراف التي لا تثق بها ، نظرًا لأنه يمكن استخدام الرسائل المجهولة بذكاء في انتحال هويتك.

Signing messages requires a private key. Verifying messages requires a public address. In this way, you can write an arbitrary message and generate a signature that could only have been created by a user with control of the private key for this address. Any user with the message, the public address and the signature can easily verify that only you could have created the signature. Messages are not stored on the blockchain. Instead, you must send these three text snippets (message, address and signature) to your intended recipient using another communication channel, such as email. As an example, you can test the following message and signature and verify that it was signed by the given address:

Message: Documentation test signature
Address: XwHihwiQzheVKbT76e7ZhPkujDCQGEZC6P
Signature: IKaEt7MTb4Y57WIde5TLUkm1vbVsjk/L9eG+TE2tdQhMeK9vGgTsqcVOTmXXQ6QA0/WQtxqPURH2qZG27YR2VE0=

توقيع رسالة

توضح اللقطات التالية كيفية توقيع رسالة باستخدام محفظة داش كور (ملف> امضاء) ، و Trezor web wallet (إمضاء & تحقق> تحقق من الرسالة) و DMT (الأدوات>عنوان):

../_images/sign-dashcore.png ../_images/sign-trezor.png ../_images/sign-dmt.png

توقيع الرسائل في داش كور و Trezor web wallet و DMT

تحفق من الرسالة

توضح اللقطات التالية كيفية التحقق من رسالة باستخدام محفظة داش كور (ملف> امضاء) و Trezor web wallet (امضاء & تحقق> امضاء):

../_images/verify-dashcore.png ../_images/verify-trezor.png

التحقق من الرسائل في محفظة داش كور و Trezor على الويب. لاحظ أن الرسالة التي تم التحقق منها بواسطة داش كور تم إنشاؤها في Trezor والعكس بالعكس