Emil Bay (@emilbayes)

Top repositories

1

secure-password

Making Password storage safer for all
JavaScript
570
star
2

noise-peer

Simple end-to-end encrypted, secure channels using Noise Protocol Framework and libsodium secretstream
JavaScript
147
star
3

macos-touchid

Native Node.js module for working with macOS Local Authentication (eg. TouchID)
Objective-C
72
star
4

blake2b

Blake2b (64-bit version) in pure Javascript with WASM upgrade
JavaScript
58
star
5

secure-token

Simple, secure tokens for authentication, access keys, sessions etc.
JavaScript
46
star
6

kMeans.js

Simple Javascript implementation of the k-means algorithm, for node.js and the browser
CoffeeScript
44
star
7

multisig-hmac

Multisig scheme for HMAC authentication
JavaScript
43
star
8

eff-diceware-passphrase

Generate a cryptographically random password from EFF's improved Diceware word list
JavaScript
37
star
9

secure-key-management

A collection of modules for securely working with cryptographic keys and secrets
JavaScript
33
star
10

secret-blob

Tiny module for easy encryption of Buffers
JavaScript
32
star
11

nanoassert

Nanoscale assertion module
JavaScript
31
star
12

pg-ipc

IPC over PostgreSQL LISTEN/NOTIFY/UNLISTEN exposed as an EventEmitter
JavaScript
30
star
13

clustering.js

Clustering algorithms implemented in Javascript for Node.js and the browser
JavaScript
30
star
14

siginfo

Utility module to print pretty messages on SIGINFO/SIGUSR1
JavaScript
29
star
15

wat2wasm

WASM/JS clone of wabt's wat2wasm
JavaScript
28
star
16

rendezvous-point

Rendezvous points on the DHT where two authenticated peers can leave data
JavaScript
27
star
17

learnhandwasm

27
star
18

hypercore-dag

DAGs on top of hypercore, allowing verified random-access to graph nodes
JavaScript
24
star
19

secretstream-stream

Abstract encoding API of libsodium crypto_secretstream
JavaScript
23
star
20

zk-proof-of-reserves

Zero-knowledge Proof-of-reserves using Pedersen Commitments and zkSNARKs
JavaScript
18
star
21

provably-fair-rng

A provably fair RNG based on a stream cipher
JavaScript
17
star
22

mindvault

Deterministic seeds from passphrases suitable for WetWare RAM (Read: the human brain)
JavaScript
16
star
23

password-encrypted-overlay

Password encrypted overlay to Random Access modules
JavaScript
16
star
24

parallel-queue

Queue for parallel tasks that can cancel and is destoryable
JavaScript
15
star
25

simple-handshake

Simple Noise handshake state machine
JavaScript
15
star
26

is-domain-name

Validate Domain Names as outlined by RFC 2181
JavaScript
14
star
27

rename-dll

CLI for renaming DLL files on Windows, generating a new .lib file
JavaScript
14
star
28

hypercore-reduce

Reduce from an initial state as a function of a hypercore
JavaScript
13
star
29

watup

Simple macro extension to WAT (WebAssembly Text-format)
JavaScript
13
star
30

secure-random-double

Generate secure, random doubles that are unbiased and equidistant
JavaScript
13
star
31

eth-create2

Generate Ethereum CREATE2 addresses
JavaScript
11
star
32

secure-random-uniform

Generate secure, random, uniform integers, compensating for modulo bias
JavaScript
11
star
33

sodium-uuid

Generate v4 UUIDs using libsodium's RNG
JavaScript
11
star
34

private-pipe

Simple encryption using UNIX pipes
JavaScript
9
star
35

object-tojson

Turn a Javascript primitive into its "flat" representation. Aims to be equivalent to `JSON.parse(JSON.stringify(obj))`.
JavaScript
9
star
36

base32-encoding

Encode / decode base32. Supports Buffers, strings, custom alphabets, abstract-encoding compliant
JavaScript
9
star
37

wat-cheatsheet

8
star
38

hash-chain

Hash Chain implementation using Blake2b
JavaScript
8
star
39

wat-tokenizer

Tokenize WebAssembly Text-format into list of lists
JavaScript
8
star
40

hmac-blake2b

HMAC based on BLAKE2b
JavaScript
8
star
41

prebuilt-example

C++
7
star
42

secure-sample

Secure, sequential (n, N) sampling
JavaScript
7
star
43

screenshot-crawler

Screenshot crawler, taking instructions from YAML file and outputting TAP
JavaScript
7
star
44

hypercore-proof-of-data

7
star
45

compare

Compare primitives the right way (using <, > and ==)
JavaScript
7
star
46

double-hmac

Double HMAC two Buffers to compare for equality while protecting against timing attacks
JavaScript
7
star
47

bswap-wasm

bswap in WASM by using rotates
WebAssembly
6
star
48

biguintle

Encode / decode unsigned BigInt as little endian
JavaScript
6
star
49

range-inclusive

Generate a closed range of numbers `[a, b]` with step size `d`
JavaScript
6
star
50

secure-shuffle

Shuffle an array using `secure-random-uniform` as the RNG
JavaScript
6
star
51

object-transpose

Transpose between object of arrays and array of objects
JavaScript
6
star
52

hyperconsole

Console logging over hypercore
JavaScript
6
star
53

libsodium-prebuilt

libsodium prebuilt as a shared library and NAN module.
JavaScript
6
star
54

djb2

JavaScript
6
star
55

abstract-algebra-fun

My personal Sage notebooks for messing around with abstract algebra
Jupyter Notebook
6
star
56

is-secure-buffer

Check if a Buffer is a sodium-native Secure Buffer
JavaScript
5
star
57

multiset

Multiset implementation
JavaScript
5
star
58

openbsd-unveil

OpenBSD unveil(2) bindings for Node.js with prebuilds
C
5
star
59

shapefile-reader

Streaming Shapefile reader
JavaScript
5
star
60

jsconfau-2016

Repo for my talk at JSConf AU 2016: "HyperJournal - A tamper-proof publishing system"
5
star
61

popcnt32

Calculate population count (popcnt) on a 32-bit number, branch free
JavaScript
5
star
62

secure-read-key

Read a key safely into a secure, read-only Buffer
JavaScript
5
star
63

observ-set

A Set like structure that's observable
JavaScript
5
star
64

double-utils

Utilities for decomposing doubles (Number) and pretty printing
JavaScript
5
star
65

buffer-urlencoded

Decode `application/x-www-form-urlencoded` Buffer into key/value Buffers
JavaScript
5
star
66

sodium2supercop

Convert libsodium key pairs to ed25519-supercop key pairs
JavaScript
5
star
67

d3-autocomplete

Small autocomplete written using D3
JavaScript
4
star
68

my-modules

4
star
69

tree-sitter-yul

C
4
star
70

d3-utils

Small utils to make developing with d3 easier, inspired by d3-jetpack and d3-starterkit
JavaScript
4
star
71

hack4dk-public-art

Visualisation of public art in Denmark, bought by Kunst Styrelsen (the Art Agency)
JavaScript
4
star
72

next-pow2-wasm

Next power of 2 functions in WASM, eg. for aligning pointers
JavaScript
4
star
73

cordova-plugin-android-downloadmanager

Plugin to expose Android's DownloadManager in Javascript
Java
4
star
74

set-interrupt

Interruptible timer
JavaScript
4
star
75

inverted-promise

When you want to resolve/reject a promise from the outside
JavaScript
4
star
76

secure-destroy-key

Destroy a Secure Buffer key safely
JavaScript
4
star
77

pony-endianness

Easily read different Integer types from an `Array[U8]` as either big or little endian encoding.
Pony
4
star
78

electron-icons-sketch-template

Sketch Template for quickly generating Electron app icons
4
star
79

bittorrent-dht-sodium

Sodium wrapper for working with BEP44 on bittorrent-dht
JavaScript
4
star
80

secure-create-key

Create a symmetric cryptographic key in a secure, read-only Buffer
JavaScript
3
star
81

hypercore-sparse-index

Index blocks as they're available
JavaScript
3
star
82

rc-toml

TOML based clone of dominictarr's rc module
JavaScript
3
star
83

tail-bytes-stream

Read `n` bytes from the end of a stream
JavaScript
3
star
84

is-http-url

Validate URLs for sane values
JavaScript
3
star
85

random-benchmark

Benchmark of pseudorandom number generators
JavaScript
3
star
86

openbsd-pledge

OpenBSD pledge(2) bindings for Node.js with prebuilds
C
3
star
87

denmark-cvr-neo4j

Graph representation of http://datacvr.virk.dk/ in Neo4j
JavaScript
3
star
88

bitfinex-hackathon-2018

JavaScript
3
star
89

crypto-stream-state

Extension of libsodium crypto_stream_xor to do stateful streaming
C
3
star
90

sync-cordova-xml

Sync Cordova's XML files with your package.json
JavaScript
3
star
91

grunt-git-commits

Enforce commit message format using Grunt
JavaScript
3
star
92

node-hogan

Implementation for loading hogan.js partials for Express 3.x
CoffeeScript
3
star
93

read-bytes-stream

Read `n` bytes of a stream, then swap to another stream
JavaScript
3
star
94

noise-p2p

JavaScript
3
star
95

secure-concat

Yet another `concat-stream`, but cleans internal state and limits bytes
JavaScript
3
star
96

mithril-history-router

A dropin replacement for m.route
JavaScript
3
star
97

handcrafting-webassembly

2
star
98

cordova-plugin-android-boot

Cordova plugin for launching an app at boot
Java
2
star
99

blake2b-stream

Node Stream wrapper for Blake2b
JavaScript
2
star
100

sodium-up

Convenience wrapper around sodium-native
JavaScript
2
star