you would call encrypt api.
for that you should check:
http://msdn.microsoft.com
_________________________
!

download KiXnet