mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-21 15:53:47 +00:00
deprecate hmac and hex extensions for CryptoJS in webapp
This commit is contained in:
parent
58c1f2ee6a
commit
c759b9a466
@ -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>()
|
||||
|
Loading…
Reference in New Issue
Block a user