Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dstack-TEE/dstack
/ uint8ArrayToHex
Function
uint8ArrayToHex
sdk/js/src/encrypt-env-vars.ts:16–20 ·
view source on GitHub ↗
(buffer: Uint8Array)
Source
from the content-addressed store, hash-verified
14
}
15
16
function
uint8ArrayToHex(buffer: Uint8Array) {
17
return
Array.from(buffer)
18
.map((byte: number) => byte.toString(16).padStart(2,
"0"
))
19
.join(
""
);
20
}
21
22
export
interface
EnvVar {
23
key: string
Callers
1
encryptEnvVars
Function · 0.70
Calls
1
from
Method · 0.45
Tested by
no test coverage detected