The RSA signature process is based on a pair of keys, mathematically linked, consisting of a private key and a public key.
The emitter uses the private key to generate a signature for the message. Then sends the message, the signature and his public key. With this information, the receiver can validate that the message was signed by the emitter identified by his public key and that the content in the message hasn't been modified.
In our implementation of the RSA signature, we follow a tweaked version, where the emitter needs to generate a signature for the body that he wants to send along with a timestamp, separated between a "." this timestamp makes the signature valid just for a limited period.
DatathatIwanttosend="Hello! Im George"Timestamp=1672188588Message="Hello! Im George".1672188588โSignMessage""Hello!ImGeorge".1672188588"usingmyprivatekeyโSignatureSendSignature,MessageandTimestamp
Extra Tools
Verify Signature
To test the signature implementation, we facilitate this endpoint that you can call via code, or via Postman with the signature that you generated to see if its well implemented before introducing it in the application.