Skip to content

Latest commit

 

History

History
50 lines (42 loc) · 1.67 KB

csharp_symmetric_file_encryption_password_based.md

File metadata and controls

50 lines (42 loc) · 1.67 KB
title keywords summary permalink folder references authors current_reviews last_updated tags
C# Symmetric Password Based File Encryption
sample
Password based symmetric file encryption in C#
csharp_symmetric_file_encryption_password_based.html
C#
url description
How to encrypt and decrypt files using the AES encryption algorithm in C#
name url
Nico Rusam
2018-07-24
C#
CSharp
dotnet core
.net core
AES
Rfc2898DeriveBytes
PKCS7
Salt
Cipher Block Chaining

Use cases

  • Password based encryption of a file
  • Previously shared common secret (password)

Used .Net version

  • .Net Core 2.1

Example Code for C# based asymmetric key storage

{% include_relative csharp_cryptoexamples/src/ExampleFileEncryption.cs %}

{% include links.html %}