cryptography-provider-webcrypto
Provides implementation of CryptographyProvider via WebCrypto
For supported targets and algorithms, please consult Supported primitives section
Limitations
only
suspend
functions are supported, becauseWebCrypto
API is async by defaultAES.* (browser only): may not support
192 bit
keysAES.CBC: only
padding=true
is supported
Example
val provider = CryptographyProvider.WebCrypto // or CryptographyProvider.Default
// get some algorithm
provider.get(SHA512)
Content copied to clipboard
Using in your projects
dependencies {
implementation("dev.whyoleg.cryptography:cryptography-provider-webcrypto:0.4.0")
}
Content copied to clipboard
Packages
Link copied to clipboard
Provides implementation of CryptographyProvider via WebCrypto