Changed to having keys and iv as bytes to better match chacha specification.