Build a key for the particular cipher from the provided bytes, based on the key length Todo: In terms of unsafe
Same as prior, except yolo out the exceptions.
Generate a Key, or return a key error for a missing provider Todo: Rename, in terms of unsafe
Generate a Key, or return a key error for a missing provider Todo: Rename, in terms of unsafe
Either the Key, or an error
Generate key, but with errors uncaught This does not shield you from JCA exceptions
The generator to return
Build a key, lift onto a context F[_]
Lift our generation code into an F[_] Todo: Rename
Lift our generation code into an F[_] Todo: Rename
Sync instance
Our symmetric key generator, abstracted out This is not so easy given keyError is useful to CipherError as well, but duplicated classes is a nono
The algorithm to generate the key for
the key type, i.e Symmetric cipher or Mac key
the key error type
(Since version 0.0.1-M10) Use SymmetricKeyGen