Rename server to auth-server
This commit is contained in:
14
auth-server.cc
Normal file
14
auth-server.cc
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
#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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user