import * as dtils from "https://deno.land/x/dtils@2.3.1/encryption.ts";
Functions
Asymmetrically decrypt | |
Asymmetrically decrypt | |
Symmetrically decrypt bytes using | |
Symmetrically decrypt bytes using | |
Asymmetrically encrypt | |
Asymmetrically encrypt | |
Symmetrically encrypt bytes using | |
Symmetrically encrypt bytes using | |
Generates a base64 encoded key pair for asymmetric encryptions using the RSA algorithm | |
Generates a key pair for asymmetric encryptions using the RSA algorithm | |
Generates a base64 encoded encryption key for symmetric encryptions using the AES algorithm | |
Generates an encryption key for symmetric encryptions using the AES algorithm | |
Generates an asymmetric, base64 encoded key pair for signing or encryption purposes | |
Generates an asymmetric key pair for signing or encryption purposes | |
Generates a base64 encoded key pair for asymmetric signings using the EC algorithm | |
Generates a key pair for asymmetric signings using the EC algorithm | |
Hashes a password into a symmetric encryption key for encryptions using the AES algorithm. Function assumes that password and salt are utf characters, not base64 | |
Hashes a password into a symmetric encryption key for encryptions using the AES algorithm | |
f sign | Creates a digital signature using a base64 encoded EC private key. Note: function will error if the key passed in is not a private key |
Creates a digital signature using an EC private key. Note: function will error if the key passed in is not a private key | |
Verifies that | |
Verifies that |