CryptoSys API Library Manual

Data Compression in Cryptography

Compressing data before encryption not only makes for shorter messages to be transmitted or stored, but also improves security by reducing the redundancy in the plaintext and making cryptanalysis harder.

CryptoSys API includes compression (ZLIB_Deflate) and decompression (ZLIB_Inflate) functions based on Jean-loup Gailly's excellent zlib product. Just remember to compress before encrypting.

[Contents] [Index]

[PREV: The cipher suite ASCON...]   [Contents]   [Index]   
   [NEXT: Secure Random Number Generator...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.