Crypto: RSA Sign, accepts hash with type byte array
SHA-256 Hash i get hash with type string but I can’t convey in Crypto: RSA Sign in the field hash.
how can i convert hash type string to hash type byte array ?
I use the Crypto module version: 2.116
1 Like
@aslan Please check your array of bytes. It looks like you placed multiple values into a single item of bytes array
how can i convert hash type string to hash type byte array ?
Try to describe your use case in general and we will try to help you.
I pass the text to the block SHA-256 Hash and I get a hash of type string,
now i need to convert to type byte array, to pass to the block Crypto: RSA Sign
Start from proper conversion of your PEM (I assume you use PEM encoded keys) to universal bytes. Use block
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.