From the linux terminal, i create hash of the image file as below
openssl dgst -sha256 -binary -out hash.bin data.jpg
sign the hash with the