SecretKey
Parameters
keyMaterial
the initial key material. A defensive copy is stored.
Creates a secret key from an existing SecureByteString.
Parameters
byteString
the secure byte string whose key material will be used.
Throws
if byteString has been destroyed.