Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DistributeBytes ¶
DistributeBytes takes the given in bytes and distributes them to n shares. At least k shares are required to restore the initial data. For better performance and security use DistributeBytesAES
func DistributeBytesAES ¶
DistributeBytesAES takes the given in bytes and distributes them to n shares. At least k shares are required to restore the initial data In comparison to DistributeBytes this function uses AES on the payload and only distributes the key. This is a lot fast, as AES is highly optimized and backed by hardware support in most modern systems. The downside is a massive increase in share size, as every share now also has to contain the full AES payload.
func RecoverBytes ¶
RecoverBytes recovers the given shares generate by DistributeBytes to their original payload.
func RecoverBytesAES ¶
RecoverBytesAES recovers the given shares generate by DistributeBytesAES to their original payload.
Types ¶
This section is empty.