Files
funstraw/auth-server.cc

15 lines
213 B
C++
Raw Normal View History

2015-02-05 11:38:34 +00:00
#include <iostream>
#include "nacl/build/instance1/include/amd64/crypto_box.h"
int main() {
std::string pk;
std::string sk;
pk = crypto_box_keypair(&sk);
std::cout << pk.size() << std::endl;
return 0;
}