Being a C# developer, as part of securing the database of a VB.Net application, I used the RSA algorithm to encrypt and decrypt the database file using a password.
As it seems that, you also want to develop a similar program, I would like to go through the details of the project and see if I can help you with the same.
Regards,
Atul Rajdhar