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.MBFilestatic class.Example 1 : Encrypt a file using your custom
KeyNotes :
EncryptedDatavariable isMBSecurity.FileEncryptionModelKeyproperty contains the key used in the encryptionKeyafter the encryption will be encryptedExample 2 : Encrypt a file without
KeyandIVKeyandIVuse theMBSecurity.MBFile.EncryptWithoutKeystatic method.