mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-11-13 23:42:56 +00:00
deprecations handling
This commit is contained in:
1 parent
984d781f2f
commit
f33ada5396
29 files changed
+33
-750
No files matched your search
@@ -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>()
|
||||
}
|
||||
Reference in new issue
Block a user