This is an awfully implicit way of transferring ownership.  It's better to move this logic into the class itself.

Apart from that, I like how you cleaned up RandomBytesRequest.