com.github.rs3vans.krypto / AsymmetricEncryptCipher / <init>

<init>

AsymmetricEncryptCipher(key: PublicKey, provider: KryptoProvider = KryptoProvider.defaultInstance)

An encrypting-only cipher which uses an RSA-based PublicKey for encryption.