Explore more
Securing data with Make
Digital signature
1 min
a https //apps make com/crypto#create digital signature is a string used to verify the identify of the sender and that a message or document is authentic and hasn't been changed it works by generating a unique hash of the message (using https //help make com/text and binary functions#sha1 or https //help make com/text and binary functions#sha256 ), which is then encrypted with the sender's private key the recipient uses the sender's public key to decrypt the signature and retrieve the hash if the hash values of the received message and the sent message match, it confirms both the sender's identity and that the message hasn't been altered example create a digital signature with the encryptor app in this example we will select content to send to a recipient with a digital signature generate a pair of private and public rsa keys create a digital signature and attach it to a message verify the digital signature step 1 select content to encrypt in this example, we set a variable initialtext with our content to send with a digital signature in your scenario, you may have the content set another way or pulled from a different source step 2 generate a pair of private and public rsa keys to use for your digital signature go to an rsa key generator website of your choice in this example, we use https //emn178 github io/online tools/rsa/key generator/ select or set the following values bits 1024 format pkcs#1 make does not support other formats click generate to get a pair of private and public rsa keys if you are using a different tool to generate your rsa keys, your steps may be different copy the private and public rsa keys and save them in a safe place you will use these keys to create a digital signature, encrypt a text, and allow the recipient to verify your digital signature you must provide your rsa public key to the recipient ahead of time so they can verify the digital signature step 3 create a digital signature add the encryptor > create digital signature module to your scenario click create a keychain enter a name for your keychain in the private key field, paste your rsa private key optional add a passphrase this is not required click create select the algorithm rsa sha256 is recommended select the input encoding utf 8 is recommended select the output encoding hexadecimal is recommended in the data field, map the value of the content you want to send click save the output from the encryptor module is the digital signature in hexadecimal format the recipient can use this signature and your rsa public key to verify the validity of the content they received step 4 verify the digital signature to verify the signature, use an rsa verify signature tool in this example, we use https //emn178 github io/online tools/rsa/verify/ enter the settings, public key, signature, and input to verify the validity if you are using a different tool to verify the signature, your steps may be different if any part of the signature, public key, or input does not match, the result will be invalid and you will know that the message was changed or is not from the expected sender