crypto: Add Go implementation of keystream generation.