deprecations handling

This commit is contained in:
2022-08-04 10:59:04 +06:00
parent 984d781f2f
commit f33ada5396
29 changed files with 33 additions and 750 deletions

View File

@@ -7,8 +7,3 @@ external interface CryptoJs {
@JsModule("crypto-js")
@JsNonModule
external val CryptoJS: CryptoJs
@Deprecated("Deprecated due to incorrect of work sometimes and redundancy. Can be replaced by korlibs krypto")
actual fun SourceString.hmacSha256(key: String): String {
return CryptoJS.asDynamic().HmacSHA256(this, key).toString().unsafeCast<String>()
}