V Programming Language

145 readers
2 users here now

All things V.

Please be nice and respectful.

founded 2 years ago
MODERATORS
1
2
submitted 4 days ago* (last edited 4 days ago) by sxan@midwest.social to c/vlang@programming.dev
 
 

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.

2
3
4
5
 
 

Cool example of some complicated parsing in V. Maybe it'll be added to a browser someday??

6
 
 

Cool new module for working with basic configuration files.

7
8
 
 

Might come in handy some day!

9
 
 

Text editor written in V.

10
 
 

Now with xml parsing in vlib!

11
12
 
 

DNS in V

13
 
 

Webview in V

14
15
 
 

Now with coroutines! This is a big release folks.

16
 
 

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!

17
 
 

Some exciting news for ORM lovers, as well as devs that use the LSP to make code editors helpful!

18
19
1
submitted 2 years ago* (last edited 2 years ago) by jeebus@programming.dev to c/vlang@programming.dev
 
 

Please consider supporting the V programming language website projects!