# diafygi/webcrypto-examples

Web Cryptography API Examples Demo: https://diafygi.github.io/webcrypto-examples/

Repository: https://github.com/diafygi/webcrypto-examples
Canonical: https://ross.abutalabs.com/products/webcrypto-examples
Language: HTML
License: GPL-2.0
License Family: copyleft
Last push: 2021-03-13T08:20:42+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4210, "days_push": 1999, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1651, forks 191 (observed 2026-08-28T04:05:16.922263+00:00)

## What it is
A collection of copy-paste examples for the browser's Web Cryptography API, presented as a live reference table covering algorithms like RSA, ECDSA, ECDH, AES, and HMAC. Each example demonstrates operations such as key generation, encryption, decryption, signing, and verification.

## Use cases
- learn how to use the Web Cryptography API
- find example code for AES-GCM encryption in the browser
- see how to sign and verify data with ECDSA in JavaScript
- look up WebCrypto generateKey and exportKey usage
- reference for encrypting data client-side in a web app
- understand RSA-OAEP encrypt and decrypt in the browser

## When to choose
- you need quick, working WebCrypto code snippets for a specific algorithm
- you want a browsable reference of which algorithms support which operations
- you are learning client-side cryptography in JavaScript

## When to avoid
- you need a cryptography library rather than documentation
- you need server-side or Node.js crypto examples
- you need maintained, up-to-date coverage of newer WebCrypto features

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: cryptography, documentation, developer-tools
- domain: security, web-development, tutorials, developer-tools
- platform: browser
- tags: webcrypto, examples, reference, javascript, encryption, digital-signatures, live-demo, web-server

## Member repositories
- diafygi/webcrypto-examples (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:16.922263+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:45:01.622646+00:00, confidence not recorded.
  - readme: https://github.com/diafygi/webcrypto-examples (fetched 2026-08-28T04:05:16.922263+00:00, sha 8e96f3dfa0d4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
