An open API service indexing awesome lists of open source software.

https://github.com/vaultie/teddybear

🧸 JS/TS/Rust library for verifiable credentials and common cryptographic operations
https://github.com/vaultie/teddybear

client-side-encryption cryptography javascript jwe jws jwt rust typescript verifiable-credentials wasm

Last synced: 5 months ago
JSON representation

🧸 JS/TS/Rust library for verifiable credentials and common cryptographic operations

Awesome Lists containing this project

README

          

# Teddybear

![GHA Status](https://img.shields.io/github/actions/workflow/status/vaultie/teddybear/build.yaml)
[![NPM Version](https://img.shields.io/npm/v/%40vaultie%2Fteddybear)](https://www.npmjs.com/package/@vaultie/teddybear)
[![Documentation](https://img.shields.io/badge/documentation-blue)](https://vaultie.github.io/teddybear/index.html)

Verifiable credentials toolkit for JS-based platforms and Rust.

## Features

* Ed25519/X25519 key generation, import/export
* `did:key` DID resolver
* JWE encryption/decryption
* Bitstring-based status lists
* Browser/Node wrapper based on WebAssembly

## Installation

```sh
yarn add @vaultie/teddybear
```

## Build from source

Ensure that you have Nix installed with flakes support enabled.

```sh
nix build
```

## License

You may choose either MIT license or Apache License, Version 2.0.