Encoding scheme for hand entry of binary data