System::Security::Cryptography::ECDsaBotan::HashData 方法

ECDsaBotan::HashData(ByteArrayPtr, int32_t, int32_t, HashAlgorithmName) method

使用指定的哈希算法计算指定数据数组的哈希值。

ByteArrayPtr System::Security::Cryptography::ECDsaBotan::HashData(ByteArrayPtr data, int32_t offset, int32_t count, HashAlgorithmName hash_algorithm) override
参数类型描述
dataByteArrayPtrData 用于哈希。
offsetint32_tdata 中的偏移。
countint32_t要进行哈希的字节数。
hash_algorithmHashAlgorithmName哈希算法。

ReturnValue

已哈希的数据。

另见

ECDsaBotan::HashData(StreamPtr, HashAlgorithmName) method

使用指定的哈希算法计算指定二进制流的哈希值。

ByteArrayPtr System::Security::Cryptography::ECDsaBotan::HashData(StreamPtr stream, HashAlgorithmName hash_algorithm) override
参数类型描述
StreamPtr用于哈希的二进制流。
hash_algorithmHashAlgorithmName哈希算法。

ReturnValue

已哈希的数据。

另见