Show / Hide Table of Contents

Namespace GlitchedPolygons.Services.Cryptography.Symmetric

Classes

EncryptionResult

The result of encrypting some data using the Encrypt(byte[]) method. Contains the encrypted bytes and the key + initialization vector used for the encryption (you need those for decryption). Implements the IDisposable

SymmetricCryptography

Service interface implementation for symmetrically encrypting/decrypting data (raw byte[] arrays) using System.Security.Cryptography.AesManaged.

Please keep in mind that the data you encrypt with EncryptWithPassword(byte[], string) can only be decrypted using the same password and the corresponding mirror method DecryptWithPassword(byte[], string).

Likewise, data encrypted using Encrypt(byte[]) can only be decrypted again using Decrypt(EncryptionResult) respectively. Implements the ISymmetricCryptography interface.

Interfaces

ISymmetricCryptography

Service interface for symmetrically encrypting/decrypting data (raw byte[] arrays).

Please keep in mind that the data you encrypt with EncryptWithPassword(byte[], string) can only be decrypted using the same password and the corresponding mirror method DecryptWithPassword(byte[], string).

Likewise, data encrypted using Encrypt(byte[]) can only be decrypted again using Decrypt(EncryptionResult) respectively.
Back to top Generated by DocFX