• Stars
    star
    142
  • Rank 258,495 (Top 6 %)
  • Language
    Go
  • License
    MIT License
  • Created over 4 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple Shamir's Secret Sharing (s4) - A go package giving a easy to use interface for the shamir's secret sharing algorithm

Simple Shamir's Secret Sharing (s4)

With Simple Shamir's Secret Sharing (s4) I want to provide you an easy to use interface for this beautiful little piece of math.

Please note that s4 is provided as it is and I do not take responsibility for any bugs. s4 is a tiny layer around hashicorp vault shamir and golang's AES encryption.

πŸ“š Usage as library

You can use s4 as normal go library in your go projects by importing it via import "github.com/simonfrey/s4" and en-/decrypt bytes to byte shares and vice versa

🏠 Building the WASM for the frontend

I assume you have a go build environment setup in your machine.

In order to build & pack the web assembly file for the frontend please use the following command in the top level directory:

./build.sh

This will build you the required file. You now can copy to build folder to your web server (or use it locally) and it should run s4 as intended.

πŸ’Έ Report Bugs & Tip

Please use Github Issues in order to report bugs

πŸ’Έ If you want to tip me for my work on this project feel free to do so πŸ’Έ

πŸ—£ Discussions

s4 was broadly discussed on HackerNews, and was mentioned in golang weekly in June 2020.

πŸ“ƒ License

MIT License

More Repositories

1

unshort.link

Prevent short link services from tracking you by unshortening the urls for your
Go
174
star
2

mastodon_wordpress_autopost

A Wordpress Plugin that automatically posts your new articles to Mastodon
PHP
33
star
3

matomo_circumvent_adblock

Matomo/Piwik anti adblock php script which help you to circumvent the blocking of your tracking by ad blockers
PHP
32
star
4

faster-pageload-web-extensions

Load webpages faster by preloading subsequent pages via the instant.page script and lazy loading images. Install the plugin and you will feel how your browser becomes faster.
JavaScript
26
star
5

save_to_web.archive.org

Scrapes the given website for internal links and saves the found ones into https://web.archive.org/
Go
23
star
6

lazysimon

Minimal effort 350 byte JavaScript library to lazy load all <img> on your website
HTML
18
star
7

hugo-leaflet

OpenStreetMap Hugo Shortcodes
CSS
17
star
8

jsonl

JSONL helper library for golang
Go
15
star
9

ollama-registry-pull-through-proxy

A proxy that allows you to host ollama images in your local environment
Go
10
star
10

proxyfy

Wrapper around gimmeproxy - API compatible to http.Client
Go
7
star
11

tabsub

Offline Javascript PubSub between browser tabs using local storage
HTML
6
star
12

tor.js

Tiny JavaScript library that tells you if your visitor is using TOR
HTML
5
star
13

checkvistsite

Create simple websites with checkvist.com as CMS
PHP
2
star
14

wallabag-kindle-4-client

[Requires a jailbroken kindle] Allows to directly synchronise your wallabag entries to the kindle 4 library
Go
1
star
15

killer

A small go util that watches your linux processes and kills them if they are on the list. Helps to prevent procrastination
Go
1
star
16

bingetogetherlanguages

Help translating bingetogether.com into your language
PHP
1
star
17

LMAA-Leave-me-absolutely-alone-web-extensions

Browser extension that prevents sites from changing the favicon or tab title to distract you and get your attention
JavaScript
1
star