# e-CryptIt Engine - Compression

#### Version: | ##### 16.6.3
#### Compatible: | ##### macOS Intel macOS Apple Silicon Windows 32 bit and 64 bit Windows Arm 64 bit Linux 32 bit and 64 bit Linux ARM 32 bit and 64 bit iOS
#### Requirements: | ##### Xojo 2019r1 or later or later. (Xojo 2020r2 or later of iOS or Apple Silicon compile)
#### Dependencies: | ##### Einhugur TypeLib Plugin 13.2.2 or later.

#### Summary:

Compression
- Zip compression on strings
- Zip compression on files (.z format)
- Zip compression on streams (.z format)
- Zip archives (.zip format)
- LZMA compression on files (.lmza format)
- LZMA compression on strings
- LZMA2 compression on files
- LZMA2 compression on strings
- Zstandard compression on files
- Zstandard compression on streams
- Zstandard in native threads
Note that all newer Example projects are created only for Xojo API2, even if the plugin supports down to Xojo 2019r1 which has API1.

#### Remarks:

The plugin is internally segmented so only the used parts will be compiled into your application.
The Zip compression, is based on the zlib library which was not written by Einhugur Software.
The ZipArchive classes are based on MiniZ library which was not written by Einhugur Software.
The e-CryptIt plugin does not require zlib to be installed.
LZMA base implementation comes from LZMA SDK that was created by Igor Pavlov.

#### Agreement:

This product is a commercial software, only registered users are allowed to use it.
Einhugur Software will disable all serial numbers found on Internet and all serial numbers of decoded plugins that have illegally been posted on Internet.
Einhugur Software and the author, are in no way responsible for the bugs that might be found in this product. However, Einhugur Software will do its best to fix the bugs. This software is provided by Einhugur software 'as is' without any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for particular purpose. In no event shall Einhugur Software or its developers 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 any 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.
Officially we only support versions noted above and up to current official (not alpha or beta versions) version of Xojo at the date of when this plugin is published. We cannot predict what changes might come in future versions of Xojo.
Note that the MiniZ, Vogl MiniZ and Zstandard that the plugin uses is free software that can be obtained free of charge for any use.
License for the Vogl MiniZ that is partially used in this plugin to power some parts of the ZipArhive functionality:
Copyright 2013-2014 RAD Game Tools and Valve Software
Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC
All Rights Reserved.
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.
License for the Zstandard library that is used under the hood in this plugin:
BSD License
For Zstandard software
Copyright (c) 2016-present, Facebook, Inc. 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 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.

####

#### E-mail: | ##### support@einhugur.com
#### Website: | ##### https://www.einhugur.com/