This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
2021-11-10 23:55:58 +01:00
|
|
|
#include "fortuna.h"
|
2021-10-19 15:05:18 +02:00
|
|
|
|
|
|
|
int main() {
|
2021-11-18 22:05:05 +01:00
|
|
|
fmt::print("[*] doing evil stuff\n");
|
2021-11-10 23:55:58 +01:00
|
|
|
fortuna::Fortuna f;
|
2021-12-13 04:59:11 +01:00
|
|
|
try {
|
|
|
|
f.random_data(4); // number of bytes requested
|
|
|
|
} catch (std::exception& e) {
|
|
|
|
fmt::print("[!] exiting due to \"{}\"\n", e.what());
|
|
|
|
exit(0);
|
|
|
|
}
|
2021-10-19 15:05:18 +02:00
|
|
|
return 0;
|
|
|
|
}
|