Justin Shepard converted my code to encrypt RPD passwords to VB.NET: