a portable and fast pairing-based cryptography library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mcl/test/static_code_test.cpp

12 lines
155 B

4 years ago
#include <mcl/bls12_381.hpp>
using namespace mcl::bn;
int main()
{
initPairing(mcl::BLS12_381);
Fr x;
x = 3;
printf("%s\n", x.getStr(16).c_str());
}