in reply to Re^2: Add 1 to an arbitrary-length binary string
in thread Add 1 to an arbitrary-length binary string
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?
|
|---|