Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
OpenSSL 的 rsautl 允许使用私钥进行签名。这是没有哈希的。然后使用公钥恢复签名文件。
我看过,CryptCreateHash/CryptSignHash/CryptHashData但我不知道该怎么做。我相信这些函数只会对数据的哈希进行签名,而不是对数据本身进行签名。
CryptCreateHash/CryptSignHash/CryptHashData
有什么方法可以用私钥签名而不涉及哈希?
编辑:对 jww 的建议进行了必要的更改。