EC-Council
312-92 · Question #42
312-92 Question #42: Real Exam Question with Answer & Explanation
The correct answer is D. Asymmetric encryption. See the full explanation below for the reasoning.
Question
What type of encryption will be used from the following code? Dim Publickey As Byte() = {214,46,220,83,160,73,40,39,201 155,19,202,3,11,191,178,56,74,90,36,248,103, 18,144,170,163,145,87,54,61,34,220,222,207, 137,149,173,14,92,120,206,222,158,28,40,24, 30,16,175,108,128,35,203,118,40,121,113,125, 216,130,11,24,9,0,48,194,240,105,44,76,34,57, 249,228,125,80,38,9,136,29,117,207,139,168,181, 85,137,126,10,126,242,120,247,121,8,100,12,201, 171,38,226,193,180,190,117,177,87,143,242,213, 11,44,18,0,113,93,106,99,179,68,175,211,164,116 64,148,226,254,172,147} Dim Exponent As Byte() = {1,0,1} Dim Encrypted SymmetricKey() As Byte Dim Encrypted SymmetricIV() As Byte Dim RSA as New RSACryptoServiceProvider() Dim RSAKeyInfo As New RSAParameters() RSAKeyInfo.Modules = PublicKey RSAKeyInfo.Exponent = Exponent RSA.ImportParameters(RSAKeyInfo) Dim RM As New RijendaelManaged() EncryptedSymmetricKey = RSA.Encrypt(RM.Key,False) EncryptedSymmetricIV = RSA.Encrypt(RM.Key,False)
Options
- ASymmetric encryption
- BMITM encryption
- CReverse-key encryption
- DAsymmetric encryption
Community Discussion
No community discussion yet for this question.