Buradasın
Data Encryption in .NET
learn.microsoft.com/en-us/dotnet/standard/security/encrypting-dataYapay zekadan makale özeti
- Symmetric Encryption
- Symmetric encryption encrypts large amounts of data using streams
- CryptoStream class encrypts data read into streams
- CryptoStream requires ICryptoTransform interface and CryptoStreamMode
- AES algorithm is used with default key and IV generation
- New random IV recommended for each encryption attempt
- Asymmetric Encryption
- Asymmetric algorithms encrypt small amounts of data
- RSA class provided by .NET for asymmetric encryption
- Public key from third party used for encryption
- Example requires 128-bit encryption installed
- Private key and IV encrypted using RSA instance