How to use System::Security::Cryptography to hash a vector?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Thomas Chen

    #1

    How to use System::Security::Cryptography to hash a vector?

    I have a vector< vector<double> >. I would like to calculate a hash value by using the HashAlgorithm class in System::Securit y::Cryptography .NET namespace. The function is ComputeHash(arr ay<Byte>). How do I convert the vector of vectors into a Byte array so I can pass it to ComputeHash?
Working...