Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/borgbackup/borg
/ encrypt
Method
encrypt
src/borg/crypto/key.py:189–190 ·
view source on GitHub ↗
(self, id, data)
Source
from the content-addressed store, hash-verified
187
raise
NotImplementedError
188
189
def
encrypt(self, id, data):
190
pass
191
192
def
decrypt(self, id, data):
193
pass
Callers
15
format
Method · 0.45
format
Method · 0.45
encrypt
Method · 0.45
encrypt_key_file_pbkdf2
Method · 0.45
encrypt_key_file_argon2
Method · 0.45
encrypt
Method · 0.45
do_benchmark_cpu
Method · 0.45
test_UNENCRYPTED
Method · 0.45
test_AES256_CTR_HMAC_SHA256
Method · 0.45
test_AES256_CTR_HMAC_SHA256_aad
Method · 0.45
test_AE
Method · 0.45
test_AEAD
Method · 0.45
Calls
no outgoing calls
Tested by
14
test_UNENCRYPTED
Method · 0.36
test_AES256_CTR_HMAC_SHA256
Method · 0.36
test_AES256_CTR_HMAC_SHA256_aad
Method · 0.36
test_AE
Method · 0.36
test_AEAD
Method · 0.36
test_AEAD_with_more_AAD
Method · 0.36
test_decrypt_key_file_argon2_chacha20_poly1305
Function · 0.36
test_decrypt_key_file_pbkdf2_sha256_aes256_ctr_hmac_sha256
Function · 0.36
test_plaintext
Method · 0.36
test_keyfile
Method · 0.36
test_keyfile_kfenv
Method · 0.36
test_roundtrip
Method · 0.36