import { encryptAsymmetrically } from "https://deno.land/x/dtils@2.2.1/mod.unstable.ts";
Asymmetrically encrypt plainBytes
using a base64 encoded publicKey
. Function will error if publicKey
is not an RSA public key
x/dtils/mod.unstable.ts>encryptAsymmetrically
import { encryptAsymmetrically } from "https://deno.land/x/dtils@2.2.1/mod.unstable.ts";
Asymmetrically encrypt plainBytes
using a base64 encoded publicKey
. Function will error if publicKey
is not an RSA public key