Package-level declarations

Types

Link copied to clipboard
class AESDecryptor(key: SourceBytes, iv: ByteArray) : Decryptor
Link copied to clipboard
interface Decryptor

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun FileCredentials.decryptFile(fileBytes: ByteArray): SourceBytes
suspend fun FileCredentials.decryptFile(bot: TelegramBot, passportFile: PassportFile): SourceBytes
Link copied to clipboard
inline fun <T> PassportData.doInDecryptionContextWithPKCS8Key(pkcs8Key: PrivateKey, expectedNonce: String? = null, crossinline block: SecureData.() -> T): T
inline fun <T> PassportData.doInDecryptionContextWithPKCS8Key(pkcs8Key: String, expectedNonce: String? = null, crossinline block: SecureData.() -> T): T