MBXLSX #8
MbarkT3STO
started this conversation in
Classes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Definition :
For a special encryption and decryption for Excel files
State :
Static class
Methods :
EncryptXlEncryptionModelEncryptWithoutKeyXlEncryptionModelDecryptXlDecryptionModelDecryptWithoutKeyEncryptWithoutKeymethodXlDecryptionModelDetails :
EncryptEncrypt an Excel file using a custom Key and/or IV
1st three overloads
Byte[]Byte[]Byte[]2nd three overloads
StringByte[]Byte[]EncryptWithoutKeyEncrypt an Excel file without Key and IV
1st Overload
Byte[]2nd Overload
StringDecryptDecrypt an encrypted Excel file bytes using a custom Key and/or IV used in the encryption operation
Byte[]Byte[]Byte[]Keyparameter in decryption should converted frombase 64 stringtobytes, to do that when sending the key use.FromBase64ToBytes()extension method provided by MBSecurity.DecryptWithoutKeyDecrypt an Excel file encrypted using
EncryptWithoutKeymethodByte[]Important notes
DecryptWithoutKeymethod, if you encrypt your data usingEncryptWithoutKeyEncryptorEncryptWithoutKeyyou will get a value typeXlEncryptionModelhas two properties (KeyandEncryptedBytes)Keyis your or auto-generated key used in encryptionKeyreturned after encryption is encryptedBeta Was this translation helpful? Give feedback.
All reactions