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
SymmetricCryptography
Service interface implementation for symmetrically encrypting/decrypting data (raw byte[]
arrays) using
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.