开发者

AES encryption of directory in cocoa

开发者 https://www.devze.com 2023-03-25 17:34 出处:网络
I can encrypt and decrypt files in Cocoa in AES standard thanks to the NSData category here. However, I do not know how I can do the same thing with directories and folders. Is it possible to encrypt

I can encrypt and decrypt files in Cocoa in AES standard thanks to the NSData category here. However, I do not know how I can do the same thing with directories and folders. Is it possible to encrypt a folder, because I have seen that other secu开发者_运维技巧rity software can do it. Is there another class I can use??

Thanks.


First archive the directory, turning it into a file. There exist various Cocoa frameworks for this - many are listed here: http://www.cocoadev.com/index.pl?ZipArchiveLibraryForCocoa

And then encrypt the archive file.

0

精彩评论

暂无评论...
验证码 换一张
取 消