Correct the code to convert a string to a byte array so it is correct.
Merge pull request #2 from jimsch/master

Correct the code to convert a string to a byte array so it is correct.