I added a try-catch block to the password routine. I found after copying an article from the internet that it contained two utf-16 characters. Utf-16 along with a few other have a continuation bit. Since the Convert.ToByte method can't handle them I explicitly converted them then continued pass the exception.