Hi OrEr,
The key in public-key encryption is based on a hash value. This is a value that is computed from a base input number using a
hashing algorithm. Essentially, the hash value is a summary of the original value.
>>The system ensures that the data that will be less than RSA key size. And it defines that the signature will be created without hash.
For example, suppose we are using a 2k RSA key; that means that the RSA operation can handle messages up to 2047 bits; or 255 bytes. you would be unable to directly sign any messages longer than 255 bytes long.
Additionlly, please refer to
Why hash or salt when signing? [duplicate] and check the marked answer if it helps.
Have a nice day!
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.