Sign documents and verify signatures using sign and verify_signature