Convenience alias since Either[Throwable, ?] is really annoying to write over and over
A trait that manages a secureRandom instance.
ThreadLocal optimization for JCA and BC
.getInstance()
methods tend to be expensive, and most of the methods
are not thread-safe, so this allows for some optimization.
ThreadLocal optimization for JCA and BC
.getInstance()
methods tend to be expensive, and most of the methods
are not thread-safe, so this allows for some optimization.
(Since version 0.0.1-M10)
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
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
(Since version 0.0.1-M10)