UNPKG

ssv-keys

Version:

Tool for splitting a validator key into a predefined threshold of shares via Shamir-Secret-Sharing (SSS), and encrypt them with a set of operator keys.

11 lines (8 loc) 158 B
let index: any; try { window.crypto; index = require('jsencrypt').JSEncrypt; } catch { index = require('./jsencrypt.bundle'); } export default index;