Package-level declarations

Types

Link copied to clipboard
object Rsa

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

Link copied to clipboard
class RsaKeyPair(val exponent: BigInteger, val modulus: BigInteger)

Functions

Link copied to clipboard
fun ByteBuf.decipherRsa(exp: BigInteger, mod: BigInteger, size: Int, preferNative: Boolean = true): ByteBuf

Deciphers a slice from this buffer using RSA encryption/decryption.