Happy 2021

This commit is contained in:
Duke Leto
2021-01-02 11:20:58 -05:00
parent 3e79044f25
commit 0cee4989c0
92 changed files with 228 additions and 90 deletions

View File

@@ -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;
}
}

View File

@@ -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

View File

@@ -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;
}
}

View File

@@ -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