C# File encryption

Asked

Viewed 139 times

2

I want to send files to friends but I want to make sure no one can see their content.

I would like an example to perform C file encryption#.

1 answer

1

There are many solutions for this that you want to do, as the question is very vague, I will pass only the encryption part. One of the simplest is to use symmetric encryption, where the same key is used to encrypt and decrypt, the downside of this solution is that you should share this key with your friends in advance. Here is a tutorial I found in English.

http://devbrasil.net/profiles/blogs/criptografia-em-c-aes

But you can do something even simpler by just doing a zip compression with password using libraries like: https://www.nuget.org/packages/DotNetZip/

Browser other questions tagged

You are not signed in. Login or sign up in order to post.