Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenMined/TenSEAL
/ save_load
Function
save_load
tests/python/sealapi/test_encrypt_decrypt.py:40–43 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
38
plaintext_out.set_zero()
39
40
def
save_load(path):
41
serial = encryptor.encrypt_symmetric(plaintext)
42
serial.save(path)
43
assert Path(path).stat().st_size > 0
44
45
tmp_file(save_load)
46
plaintext_out.set_zero()
Callers
nothing calls this directly
Calls
1
save
Method · 0.45
Tested by
no test coverage detected