To encrypt your source code: http://www.aspack.com/asprotect.htm
It is commercial. Perhaps there is a free tool as well.
To encrypt string using VB:
search planetsource
There are many demos, some time ago I found an excellent one, describing several approaches.
Hope it helps.