Discover Packages
github.com/schleyfox/shamir
pkg
shares
package
Version:
v0.0.0-...-0c359fc
Opens a new window with list of versions in this module.
Published: Apr 10, 2021
License: MPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Decode takes a `share` string in the format produced by `Encode`, verifies
the checksum, and converts into the binary `byteShare` without the checksum.
Encode prepends a little-endian crc32 checksum to `byteShare` and converts
to a base64 encoded string.
Format of the result is base64(littleEndian(crc32(byteShare)) + byteShare)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.