I don't understand what is "one bit larger than the given key". Isn't it
"/Some/Arbitrarily/long/string" # the key "0Some/Arbitrarily/long/string" # incremented
? i.e. next ASCII character, unless for "\xff", then put "\0" and carry over?
In reply to Re^3: Add 1 to an arbitrary-length binary string
by Anonymous Monk
in thread Add 1 to an arbitrary-length binary string
by einhverfr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |