Initialize libsodium in all apps
This commit is contained in:
@@ -10,6 +10,8 @@ int main(int argc, char *argv[]) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
sodium_init();
|
||||
|
||||
SecretKey secret_key;
|
||||
PublicKey public_key;
|
||||
CryptoUtil::GenKeyPair(&secret_key, &public_key);
|
||||
|
||||
Reference in New Issue
Block a user