Hello every body.
How are you all?
I hope you are in the best of health.
Many developers working on the .NET Framework depend on Windows Registry keys" and "Application Settings files" to store and retrieve application settings. Using such a technique will result in a security hole, because these settings (such as server connection data, your user passwords, and so on) could be accessed by malicious users.
The simplicity of opening the Setting xml file and seeing all of your applications sensitive data that you save and retrieve, made me thinking for a new approach that introduces a new idea and offers a complex encryption algorithm for texts. So please greet my new own Class called "Private Text Encryption".
Its just a small and simple dll file but its not trivial! Lets see the class features:
1- A new encrypted text every time.
2- Youll be able to decrypt encrypted texts only the same computer that has made the encryption.
3- Although I'm the developer of this class, I wasnt able to decrypt any encrypted text generated by this class.
Follow the link below to download the dll file:
http://www.mediafire.com/?72u98w273d9zdx2 (Also Attached)
An example to use the class (Attached as (VS 2010) solution):
Attachment 94045
Code:
I hope this class would be useful for you.
Your comments will be appreciated....
Thanks
OmarNegm
How are you all?
I hope you are in the best of health.
Many developers working on the .NET Framework depend on Windows Registry keys" and "Application Settings files" to store and retrieve application settings. Using such a technique will result in a security hole, because these settings (such as server connection data, your user passwords, and so on) could be accessed by malicious users.
The simplicity of opening the Setting xml file and seeing all of your applications sensitive data that you save and retrieve, made me thinking for a new approach that introduces a new idea and offers a complex encryption algorithm for texts. So please greet my new own Class called "Private Text Encryption".
Its just a small and simple dll file but its not trivial! Lets see the class features:
1- A new encrypted text every time.
2- Youll be able to decrypt encrypted texts only the same computer that has made the encryption.
3- Although I'm the developer of this class, I wasnt able to decrypt any encrypted text generated by this class.
Follow the link below to download the dll file:
http://www.mediafire.com/?72u98w273d9zdx2 (Also Attached)
An example to use the class (Attached as (VS 2010) solution):
Attachment 94045
Code:
PHP Code:
Imports PrivateTextEncryption
Public Class frmMain
Dim PrivateText As New PrivateTextEncryption.PrivateTextEnc
Private Sub btnEncryption_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEncryption.Click
txtEncryption.Text = PrivateText.EncryptText(txtRealText.Text)
End Sub
Private Sub btnDecrypt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDecrypt.Click
txtDecryptedText.Text = PrivateText.DecryptText(txtEncryptedText.Text)
End Sub
End Class
Your comments will be appreciated....
Thanks
OmarNegm