wormhole/test/rsa_gen_test.cpp
nekobit f57708a0c9 Scrubbing... We're back
FossilOrigin-Name: 4fde441d7ec8011e697a949b4e24b9e2f22abdfe44732e55411bd927abd62979
2023-04-10 13:58:40 +00:00

15 lines
205 B
C++

#include <cassert>
#include <iostream>
#include "crypt/rsa.h"
using namespace Crypt;
int main()
{
RsaFactory factory{};
Rsa key = factory.generate_key();
std::cout << key.to_string();
return 0;
}