Skip to content

What data type returned when using .Encrypt method ? #2

Discussion options

You must be logged in to vote

When you call .Encrypt or .EncryptWithoutKey() methods from MBString, MBXLSX, MBPDF, or MBFile static classes the following is what returned :

Method Returned data type
MBString.Encrypt StrEncryptionModel
MBXLSX.Encrypt XlEncryptionModel
MBPDF.Encrypt PDFEncryptionModel
MBFile.Encrypt FileEncryptionModel

StrEncryptionModel

        /// <summary>
        /// Data model for Encrypted String
        /// </summary>
        public class StrEncryptionModel:IMBEncryptionModels.IMBStringEncryptionModel
        {

            public string Key            { get; set; }
            public string EncryptedText { get; set; }

        }
Property data type Description Special type
K…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MbarkT3STO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant