All things V.
Please be nice and respectful.
π bridged from !vlang@programming.dev by Tidepool
All things V.
Please be nice and respectful.
π bridged from !vlang@programming.dev by Tidepool
Shamir's Secret Sharing Algorithm library
sss-vlang v0.0.1
Shamir's Secret Sharing algorithm is a mechanism for splitting a secret S into n shares, of which k are required to recover the secret via a combine function. This library is a translation of sssa-go, which has been externally verified as being a well-designed implementation of the algorithm. This V version improves slightly on the Go version by handling (not ignoring) function errors.
One use case for SSS is to provide N people with keys to allow N-k of them to collaborate to produce a key that can, e.g., decrypt a digital resource. For example, 10 employees might be given keys, with any 5 being required to collude to generate a secret to open a KeePass DB that contains credentials for a server hosting master admin account.
The library has extensive unit tests and good coverage. The project includes two tools: sssc, which is a command line split and combine tool; and sssg, a GUI version.
The algorithm is stable. The library API at this point is mostly stable, and should not change much. sssc is complete, and I expect changes to include only feature additions. sssg is very definitely a WIP, as I figure out the gui package.
Performance of this library is not very good; it runs far slower than the almost Go library it was cloned from; I have not yet tried to optimize it, since performance is irrelevant for the use I have in mind. However, I suspect there is low hanging fruit here, and I'll get to it sooner or later.
Release 0.4.3 Β· vlang/v
Now with xml parsing in vlib!
esbuild author comments about Go vs Rust implementations and how Rust was actively "not fun"
They found Go to be a lot easier to work with and more enjoyable on their side project: esbuild. Probably because of GC. Thankfully vlang has the best of both worlds! Although, no borrow checker yet!
Json2V: Json to V struct online generator
Might come in handy some day!
V 0.4 is out!
Now with coroutines! This is a big release folks.
V Open Source Community Association (VOSCA)
Please consider supporting the V programming language website projects!
GitHub - Casper64/css: A CSS parser written V
Cool example of some complicated parsing in V. Maybe it'll be added to a browser someday??
GitHub - ldedev/ini-v: Simple and practical module for manipulating ini/cfg file.
Cool new module for working with basic configuration files.
tauraamui/lilly: TUI editor and VIM/Neovim alternative
Text editor written in V.
VOSCA in May, 2023
Some exciting news for ORM lovers, as well as devs that use the LSP to make code editors helpful!