Merge pull request 'Wywołanie_i/o' (#10) from Wywołanie_i/o into master
Reviewed-on: #10
This commit is contained in:
commit
6a07236b2c
4 changed files with 55 additions and 12 deletions
|
|
@ -45,6 +45,10 @@ public:
|
||||||
void saveKey(const std::string&, bool);
|
void saveKey(const std::string&, bool);
|
||||||
void loadKey(const std::string&);
|
void loadKey(const std::string&);
|
||||||
|
|
||||||
|
// Generowanie hash BLAKE2b
|
||||||
|
//static std::array<char, 16> hashBlake(const std::vector<char>&);
|
||||||
|
//static bool compareBlake(const std::vector<char>&, const std::array<char, 16>&);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::array<unsigned char, crypto_stream_chacha20_ietf_KEYBYTES> key{};
|
std::array<unsigned char, crypto_stream_chacha20_ietf_KEYBYTES> key{};
|
||||||
bool keyReady;
|
bool keyReady;
|
||||||
|
|
|
||||||
21
license/FTXUI/LICENSE.txt
Normal file
21
license/FTXUI/LICENSE.txt
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
The MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2019 Arthur Sonzogni.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
This repository uses 2 different licenses :
|
|
||||||
- all files in the `lib` directory use a BSD 2-Clause license
|
|
||||||
- all other files use a GPL-2.0-or-later license, unless explicitly stated otherwise
|
|
||||||
|
|
||||||
Relevant license is reminded at the top of each source file,
|
|
||||||
and with presence of COPYING or LICENSE file in associated directories.
|
|
||||||
|
|
||||||
This model is selected to emphasize that
|
|
||||||
files in the `lib` directory are designed to be included into 3rd party applications,
|
|
||||||
while all other files, in `programs`, `tests` or `examples`,
|
|
||||||
are intended to be used "as is", as part of their intended scenarios,
|
|
||||||
with no intention to support 3rd party integration use cases.
|
|
||||||
30
license/zstd/LICENSE.txt
Normal file
30
license/zstd/LICENSE.txt
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
BSD License
|
||||||
|
|
||||||
|
For Zstandard software
|
||||||
|
|
||||||
|
Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without modification,
|
||||||
|
are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
* Redistributions of source code must retain the above copyright notice, this
|
||||||
|
list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
* Neither the name Facebook, nor Meta, nor the names of its contributors may
|
||||||
|
be used to endorse or promote products derived from this software without
|
||||||
|
specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||||
|
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||||
|
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue