Rsa

object Rsa

A helper object to perform RSA encryption or decryption of a block of data.

Functions

Link copied to clipboard
fun modPow(base: BigInteger, exp: BigInteger, mod: BigInteger, preferNative: Boolean = true): BigInteger

Performs a modPow operation on the base big integer, using exp and mod for encryption/decryption.