Bitshift to the left instead of multiply by 2 since performs ffaster than mul.
This repo contains Rust & Go implementations of Shamir's Secret Sharing algorithm. The Go implementation also has a compiled Web Assembly (WASM) version from the Go code to be used from the browser.
Rust
Go
go
rust