The sender would then sign the newly generated hash value .
The sender would then encrypt the original documents or files with the receiver 's public key .
The sender would then sign the newly generated hash value and encrypt the original documents or files with the receiver 's public key .