type alias CryptoAlgorithm

Crypto identifier values that are relevant for this package. "rsa" is an alias for "rsa-pss"; "ed25519" is an alias for "eddsa".

Only "rsa-oaep" can be used for encryption/decryption, but it cannot be used for signatures. All the others can only be used for signature and verification.

Definition

"ecdsa"
| "eddsa"
| "ed25519"
| "rsa-pss"
| "rsa"
| "rsa-oaep"

Usage

import { type CryptoAlgorithm } from ".";