How to encrypt & decrypt a file ? #21
Answered
by
MbarkT3STO
MbarkT3STO
asked this question in
Questions & Answers
-
using |
Beta Was this translation helpful? Give feedback.
Answered by
MbarkT3STO
Dec 28, 2020
Replies: 1 comment
-
To encrypt and decrypt any file use : Example 1 : Encrypt a file using your custom
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MbarkT3STO
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To encrypt and decrypt any file use :
MBSecurity.MBFile
static class.Example 1 : Encrypt a file using your custom
Key
Notes :
EncryptedData
variable isMBSecurity.FileEncryptionModel
Key
property contains the key used in the encryptionKey
after the encryption will be encryptedExample 2 : Encrypt a file without
Key
andIV
Key
andIV
use theMBSecurity.MBFile.EncryptWithoutKey
static method.