f57708a0c9
FossilOrigin-Name: 4fde441d7ec8011e697a949b4e24b9e2f22abdfe44732e55411bd927abd62979
15 lines
205 B
C++
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;
|
|
}
|