Good idea. I had thought that RandomBytes.read() would serve that purpose, but its stream is not independent of the sizes of the chunks you read. Therefore I added a method like the one you proposed as StreamCipher.keystream().
In the process of doing this, I found and fixed two bugs, a minor one and a more serious one. Everything is in the repository now and I'll probably cut a new release 0.7.1 for this soon.
Good idea. I had thought that RandomBytes.read() would serve that purpose, but its stream is not independent of the sizes of the chunks you read. Therefore I added a method like the one you proposed as StreamCipher. keystream( ).
In the process of doing this, I found and fixed two bugs, a minor one and a more serious one. Everything is in the repository now and I'll probably cut a new release 0.7.1 for this soon.