Skip to content

ts-3156/x3dh-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A TypeScript implementation of The X3DH Key Agreement Protocol.

This application is written in very small TypeScript code. If you want to implement X3DH in your preferred programming language, it is better to look directly at the TypeScript code.

Usage

# If you don't have a deno command (TypeScript Runtime)
curl -fsSL https://deno.land/install.sh | sh

# In your terminal shell
deno run x3dh.ts

Or

# If you don't have a tsc command (TypeScript Compiler)
npm init
npm install typescript

# Compile!
npx tsc
// Open created x3dh.js and paste all codes in it to your browser's console and run the below.
main();

Different languages

Ruby version https://github.com/ts-3156/x3dh-ruby JavaScript version https://github.com/ts-3156/x3dh-javascript

Official documentation

https://signal.org/docs/specifications/x3dh/

About

A TypeScript implementation of The X3DH Key Agreement Protocol.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published