Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@transmute/transmute-did

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@transmute/transmute-did

🚧 Under Construction. Not for production use! 🚧

  • 1.1.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

Transmute DID

🚧 Under Construction. Not for production use! 🚧

Decentralized Identifiers (DIDs) are a new type of identifier for verifiable, "self-sovereign" digital identity. DIDs are fully under the control of the DID subject, independent from any centralized registry, identity provider, or certificate authority. DIDs are URLs that relate a DID subject to means for trustable interactions with that subject. DIDs resolve to DID Documents — simple documents that describe how to use that specific DID. Each DID Document contains at least three things: cryptographic material, authentication suites, and service endpoints. Cryptographic material combined with authentication suites provide a set of mechanisms to authenticate as the DID subject (e.g., public keys, pseudonymous biometric protocols, etc.). Service endpoints enable trusted interactions with the DID subject.

W3C DID Spec
W3C VC Data Model

Getting Started

npm i
npm run test

Documentation

This library uses self describing json-ld.

Nested DID Spec

What it does

The transmute-did package contains several libraries for basic cryptographic operations

src/lib/ethereumExtensions/: Ethereum

Creating an Ethereum identity

  • Generate a BIP-39 Mnemonic
  • Get a keypair from a mnemonic and a derivation path
  • Get an Ethereum address from a public key

src/lib/openpgpExtensions/: PGP

PGP uses RSA by default but also supports the following Elliptic Curves: curve25519, p256, p384, p521, secp256k1, brainpoolP256r1, brainpoolP384r1, brainpoolP512r1.

This library provides:

  • generation of PGP keypairs from a name and a passphrase
  • Signing a message with the sender's private key
  • Verifying a message with the sender's public key
  • Encrypting a message with the recipient's public key and signing it with the sender's private key
  • Decrypting a message with the recipient's private key and verifying it with the sender's public key

src/lib/sodiumExtensions/: Libsodium

LibSodium uses ED25519 by default.

This library provides:

  • a Signature scheme using libsodium's crypto_sign
  • a Public-key authenticated encryption scheme using libsodium's crypto_box

src/lib/shamirExtensions/: Secret Sharing

This library provides

  • Shamir secret sharing methods

src/lib/misc/: Miscellaneous tools

This library provides

  • Transmute DID document generation
  • converting keypairs to a ciphertext wallet

FAQs

Package last updated on 31 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc