Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/borgbackup/borg
/ bin_to_hex
Function
bin_to_hex
src/borg/helpers/parseformat.py:46–47 ·
view source on GitHub ↗
(binary)
Source
from the content-addressed store, hash-verified
44
45
46
def
bin_to_hex(binary):
47
return
binascii.hexlify(binary).decode(
"ascii"
)
48
49
50
def
hex_to_bin(hex, length=None):
Callers
15
_build_files_cache
Method · 0.85
id_str
Method · 0.85
key_filename
Method · 0.85
__init__
Method · 0.85
id_str
Method · 0.85
create
Method · 0.85
_set_id
Method · 0.85
get
Method · 0.85
put
Method · 0.85
delete
Method · 0.85
_create_filesystem
Method · 0.85
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
15
test_AES256_CTR_HMAC_SHA256
Method · 0.68
test_AES256_CTR_HMAC_SHA256_aad
Method · 0.68
test_AE
Method · 0.68
test_AEAD
Method · 0.68
test_plaintext
Method · 0.68
test_bin_to_hex
Function · 0.68
test_passphrase_wrong_debug
Method · 0.68
test_key_export_keyfile
Function · 0.68
test_key_export_repokey
Function · 0.68
test_key_export_qr
Function · 0.68
test_old_version_interfered
Function · 0.68
test_extract_file_with_missing_chunk
Function · 0.68