[英]How can I obtain the hash of a .Net assembly used for Strong Names?
When signing an assembly, a hash value
is first created from the assembly.签署程序集时,首先从程序集创建一个
hash value
。 Then, the hash value is encrypted with the private key and placed, along with the public key.然后,用私钥加密 hash 值,并与公钥一起放置。 But is there a way to have this hash value of the assembly?
但是有没有办法让程序集有这个 hash 的值呢? ( Because it is also computed at runtime and compared with the one stored, decrypted. )
(因为它也在运行时计算,并与存储的、解密的进行比较。 )
Thanks.谢谢。
use signtool.exe: signtool verify /v /pa mydll.dll |使用 signtool.exe: signtool verify /v /pa mydll.dll | find "Hash"
找到“哈希”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.