How to convert a String to a Byte[] ?

...because ASCII value of "1" is not "1" but "49" - you must decrease 48