stackoverflow exception while decrypting string with bouncy castle in vb.net

111 Views Asked by At

Recently a new project is assigned to me and its developed in ages old VB.net technology. Initially it was not even building with some error in licenses.licx file. I have removed all content from licenses.licx, the project is now building and i can debug and test most of the part, but the code exits with stack overflow exception while decrypting a string. this line

Dim userName As String = clsCrypto.Decrypt("encryptedstringUserName==")
Dim Password As String = clsCrypto.Decrypt("encryptedstringPassword==")

I have searched a lot but still unable to figure out how clsCrypto is working and why its throwing stackoverflow exception. Also i am unable to find any certificate or other encryption decryption key. A help or point to correct direction will definitely make my day.

PS. The developer has already left and no one has any idea about how this thing is working.

enter image description here

0

There are 0 best solutions below