I want to compress some files (in ZIP ) and encrypt them, if possible, using C #. Is there any way to do this?
Can encryption be done as part of the compression itself?
For compression, look at System.IO.Compressionthe namespace and for encryption look System.Security.Cryptography.
System.IO.Compression
System.Security.Cryptography
For Zip compression, you saw http://www.icsharpcode.net/OpenSource/SharpZipLib/
, , .
-, :
System.IO.Compression Zip. deflate gzip, .
, , , Zip, :
, System.IO.Compression System.Security.Cryptography.
GZipStream - .
, many ways, , System.Security. ( ).
Chilkat .NET .
, , .NET . .
, , . , .
:
Zip .Net Java
System.IO.Packaging zip .
, #, J #, :
http://msdn.microsoft.com/en-us/magazine/cc164129.aspx
, ?
, :
http://www.codeproject.com/KB/security/fileencryptdecrypt.aspx
http://www.obviex.com/samples/EncryptionWithSalt.aspx
Source: https://habr.com/ru/post/1696944/More articles:Как разработчик Rails разговаривает с внешними концами Flex? - flexVirtual Constructors - constructorImplements several interfaces with conflict in signatures - javaHow to quickly do something at Rmagick to test it work - ruby | fooobar.comVMWare Server: Virtual Hard Disk Type - performanceWhat are the pros and cons of using RMI or JMS between websites and business layers? - java-eeHow to emulate / replace / restart classic Sound Mixer controls (or commands) in Windows Vista? - windowsdebug an embedded system containing gdb remotely using some kind of gui - gdbhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1696948/how-to-create-project-specific-respository-post-commit-actions&usg=ALkJrhinbOmifYzUi2kOaWdoMihH5pIDxASQL: counting unique votes with a limited number of votes per hour - sqlAll Articles