CryptoUtils

class CryptoUtils(cryptoProperties: CryptoProperties)

Created by pedro on 11/7/25.

Crypto class used to encrypt in SRTP implementation RFC 3711

Constructors

Link copied to clipboard
constructor(cryptoProperties: CryptoProperties)

Functions

Link copied to clipboard
fun calculateHmac(buffer: ByteArray, roc: Int? = null): ByteArray
Link copied to clipboard
fun encrypt(buffer: ByteArray, ivData: ByteArray): ByteArray
Link copied to clipboard
fun generateIv(ssrc: Long, index: Long): ByteArray