0

I do not understand this problem. I tried my code down below. It says,"can only sign or verify one file."

Instructions: Using the hash function SHA‐512 and the key generated in Step 5, sign the ciphertext cipher.bin produced in Step 3 and the encrypted session key cipherSK.bin from Step 4. Output the signatures to files named sigCipher.bin and sigSK.bin respectively.

This is what I tried.

openssl -sha512 -sign cipher.bin cipherSK.bin -out sigCipher.bin sigSK.bin

Let me know if you need the whole instructions.

migrated from crypto.stackexchange.com Oct 6 at 15:31

This question came from our site for software developers, mathematicians and others interested in cryptography.

  • how dit you generate the key? – kelalaka Oct 6 at 15:07
  • RSA encryption key encKey.bin. It was given. – Michele Oct 6 at 15:08
  • Is this homework? – kelalaka Oct 6 at 15:13
  • Yes, this is homework. – Michele Oct 6 at 15:14
  • 1
    You really should read your course materials and consult with your instructor regarding this. – music2myear Oct 6 at 16:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy