MCPcopy Create free account
hub / github.com/KmBase/ScienceReading / split

Method split

embedded/site-packages/Crypto/Protocol/SecretSharing.py:169–220  ·  view source on GitHub ↗

Split a secret into ``n`` shares. The secret can be reconstructed later using just ``k`` shares out of the original ``n``. Each share must be kept confidential to the person it was assigned to. Each share is associated to an index (starting from 1).

(k, n, secret, ssss=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

_buffer_encodeMethod · 0.45
_buffer_decodeMethod · 0.45
encodeFunction · 0.45
decodeFunction · 0.45
build_digest_headerMethod · 0.45
utils.pyFile · 0.45
proxy_bypass_registryFunction · 0.45
get_netrc_authFunction · 0.45
extract_zipped_pathsFunction · 0.45
parse_dict_headerFunction · 0.45
unquote_unreservedFunction · 0.45

Calls 2

_ElementClass · 0.70
appendMethod · 0.45

Tested by 15

get_ipv6_addressesFunction · 0.36
free_swapFunction · 0.36
free_physmemFunction · 0.36
vmstatFunction · 0.36
get_free_version_infoFunction · 0.36
test_availableMethod · 0.36
test_fieldsMethod · 0.36
test_against_lscpuMethod · 0.36
test_against_lscpuMethod · 0.36
test_getloadavgMethod · 0.36