Reputation: 11515
I am switching an application from Python cryptography.io library to pynacl.
The application currently calculates digests of the data, then has the crypto libraries sign the digest.
But pynacl's signing code always requires the full data to be passed in to the sign
methods, and it is difficult to do this with the way the code is structured (and may impossible in cases, such as a very large file that cannot be read into memory).
So the two questions are:
sign
function with pynacl and have it just sign with that?message
, instead of the data directly? (And if so - and recomendations or restrictions on the algorithm or hash size to use with EC25518?)Upvotes: 1
Views: 122