8d3bbc2cfd
FossilOrigin-Name: 871567e5c80409880560aef11aa767e6c1378bb5cbdd9158a7d8d2d68b01d325
15 lines
220 B
C++
15 lines
220 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;
|
|
}
|