Happy 2021
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// Copyright 2019-2021 The Hush developers
|
||||
// Released under the GPLv3
|
||||
#include "FileEncryption.h"
|
||||
|
||||
void FileEncryption::showConfig()
|
||||
@@ -111,4 +113,4 @@ ret:
|
||||
fclose(fp_t);
|
||||
fclose(fp_s);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Copyright 2019-2021 The Hush developers
|
||||
// Released under the GPLv3
|
||||
#ifndef FILEENCRYPTION_H
|
||||
#define FILEENCRYPTION_H
|
||||
#include <stdio.h>
|
||||
@@ -21,4 +23,4 @@ class FileEncryption
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Copyright 2019-2021 The Hush developers
|
||||
// Released under the GPLv3
|
||||
#include "passwd.h"
|
||||
|
||||
void PASSWD::show_hex_buff(unsigned char buf[])
|
||||
@@ -57,4 +59,4 @@ const unsigned char* PASSWD::key(QString password)
|
||||
qDebug()<<"secret key generated:\n";
|
||||
PASSWD::show_hex_buff(key);
|
||||
return key;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Copyright 2019-2021 The Hush developers
|
||||
// Released under the GPLv3
|
||||
#ifndef PASSWD_H
|
||||
#define PASSWD_H
|
||||
#include <stdio.h>
|
||||
@@ -11,4 +13,4 @@ class PASSWD
|
||||
static const unsigned char* key(QString);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user