Function wrapWithPassword

  • Key wrapping with password. This uses Argon2Id-1.3 to derive a 256-bit key from the password. The key is then used for encryption with XChaCha20-Poly1305-IETF. The password can be an empty string.

    Parameters

    Returns JWKEncrypted

Generated using TypeDoc