Just copy/paste this into a new class.
Then, whenever you want to use it's abilities, instance a new one and call the functions:
If this is looking strange to you, then you really should get a beginner's book to VB.NET programming.Code:Dim crypto As New clsCrypto MyCypherText = crypto.EncryptString128Bit(MyPlainText, MyKey)




the people who helped you and mark your forum RESOLVED when you're done! 
Reply With Quote