amper5and / secrets.js

Secret sharing for javascript
MIT License
322 stars 140 forks source link

Error: Invalid Share when running from console #12

Open cosmicscr opened 7 years ago

cosmicscr commented 7 years ago

From the console, newShare() throws the following error:

secrets.newShare(33, "<secret share>", "<secret share>") Error: Invalid share : Share id must be an integer between 1 and 255, inclusive.