Browse Source

encrypt addresslabels

pull/130/head
DenioD 4 years ago
parent
commit
1599f3631c
  1. 5
      src/mainwindow.cpp

5
src/mainwindow.cpp

@ -307,6 +307,11 @@ void MainWindow::encryptWallet() {
qDebug()<<"secret key generated:\n";
dump_hex_buff(hash,crypto_secretstream_xchacha20poly1305_KEYBYTES);
QString source_file = "/home/denio/.local/share/Hush/SilentDragonLite/addresslabel.dat";
QString target_file = "/home/denio/.local/share/Hush/SilentDragonLite/addresslabel-encrypt.dat";
FileEncryption::encrypt(target_file, source_file, hash);
d.exec();

Loading…
Cancel
Save