Crypto/rsa question - API for signing data without hash

I have data that need to be signed before transmitting through the net. I am trying to use SignPKCS1v15(rand io.Reader, priv *PrivateKey, hash crypto.Hash, hashed []byte) ([]byte, error) in crypto/rsa package to sign the data, but the API requires the data to be hashed first before signing. This is posing a problem because the receiving end will verify the signature on the data, not the hash. Is there other API available that I can use to sign the data without hash?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.