Allow to pass an output buffer (possibly equal to the input buffer) to do ARC4 encoding/decoding. In my use case (BitTorrent) this cipher is applied to large amount of data and doing it in-place has a rather positive impact in memory consumption (in part because Cstruct's are not compacted by the GC).
Allow to pass an output buffer (possibly equal to the input buffer) to do ARC4 encoding/decoding. In my use case (BitTorrent) this cipher is applied to large amount of data and doing it in-place has a rather positive impact in memory consumption (in part because Cstruct's are not compacted by the GC).