mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-12-20 21:25:49 +00:00
add tools for passport files hashes calculation
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package dev.inmo.tgbotapi.types.passport
|
||||
|
||||
import dev.inmo.micro_utils.crypto.MD5
|
||||
import java.io.File
|
||||
|
||||
val File.passportFileHash: MD5
|
||||
get() = readBytes().passportFileHash
|
||||
Reference in New Issue
Block a user