With the sender's Cards in we can now verify ensure the Data IntegrityGuarantees a receiver that their data has not been altered over its life-cycle more ... of the message by checking the Digital SignatureA Digital Signature can be used with any kind of message, so the receiver can be sure of the sender's identity and that the message arrived intact more ....
# verify signature using Alice's Virgil Card
unless alice_cards.verify(message, signature)
raise "Aha... Alice it's not you."
To create a signature, you will need to load Alice's Virgil KeyThe Virgil Key is a wrapper of the user's secure Private Key more .... The Loading Key guide provides more details.
That's it. You've now learned how to use Virgil Security to ensure data integrity. You've learned how to:
- Create a Virgil Key
- Publish a Virgil Card
- Create a signature for data using a Virgil Key
- Find a Virgil Card
- Verify data using a Virgil Card