Interface IFireflyDataProtector
public interface IFireflyDataProtector : IFireflyDataProtectionProvider
- Inherited Members
Methods
Protect(byte[])
Cryptographically protects a piece of plaintext data.
byte[] Protect(byte[] plaintext)
Parameters
plaintext
byte[]The plaintext data to protect.
Returns
- byte[]
The protected form of the plaintext data.
Unprotect(byte[])
Cryptographically unprotects a piece of protected data.
byte[] Unprotect(byte[] protectedData)
Parameters
protectedData
byte[]The protected data to unprotect.
Returns
- byte[]
The plaintext form of the protected data.
Exceptions
- CryptographicException
Thrown if the protected data is invalid or malformed.