mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-10-25 14:07:28 +00:00
deprecate hmac and hex extensions for CryptoJS in webapp
This commit is contained in:
1 parent
58c1f2ee6a
commit
c759b9a466
1 file changed
+2
@@ -2,6 +2,8 @@ package dev.inmo.tgbotapi.webapps
|
||||
|
||||
import dev.inmo.micro_utils.crypto.CryptoJs
|
||||
|
||||
@Deprecated("Useless")
|
||||
fun CryptoJs.HmacSHA256(text: String, key: String) = this.asDynamic().HmacSHA256(text, key).unsafeCast<String>()
|
||||
|
||||
@Deprecated("Useless")
|
||||
fun CryptoJs.hex(text: String) = this.asDynamic().format.Hex(text).unsafeCast<String>()
|
||||
Reference in new issue
Block a user