KeyGenUtils API

This is the API I've written for generating Keys, nonces and ivs. It will also convert byte arrays to into SecretKeys, KeyPairs, and a couple other classes. 
This signature reversed the arguments compared to the others that have `(KeyType type, byte[] key)`. Consistency in this seems good.