And another thing to add, if the passwords are supposed to be binary encoded, one can use http://en.wikipedia.org/wiki/Base64 to store this encrypted binary data in a text-safe manner.