1234567891011121314 |
- #include <crypt/BigInt64.hpp>
- #include <hash.hpp>
- #include <random>
- #include <iostream>
- int main(){
- std::mt19937_64 gen(54);
- BigInt n(2);
- unsigned int i = 1;
-
- n = n.modPow(BigInt(gen, 31), secure_prime);
- std::cout << n.toString() << std::endl;
-
- std::cout << sha512(n).hexString() << std::endl;
- }
|