Hello I tried to run the test operation on VS 2017 and got error 
Testing Integer operations...

Assertion failed: d:\users\ben\my 
desktop\crypto\cryptopp\integer.cpp(4408): CryptoPP::a_times_b_mod_c

Any idea why?

[image: Annotation 2020-07-01 112720.jpg]
It's on CRYPTOPP_ASSERT(m.NotZero()); line. and I'm new to crypto++. I also 
tried sing msys2 and it fail also when run this code on the sample 
Reffer to https://www.cryptopp.com/wiki/SHA.

This is the code 
#include "cryptopp/cryptlib.h"
#include "cryptopp/sha.h"
#include <iostream>

int main (int argc, char* argv[])
{
    using namespace CryptoPP;

    SHA1 hash;  
    std::cout << "Name: " << hash.AlgorithmName() << std::endl;
    std::cout << "Digest size: " << hash.DigestSize() << std::endl;
    std::cout << "Block size: " << hash.BlockSize() << std::endl;

    return 0; 
}

Any Idea? Thank you 

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/cryptopp-users/557e276b-22cb-4bb6-8111-9dc1a3b4f07eo%40googlegroups.com.

Reply via email to