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.browser.ts:15–19 ·
view source on GitHub ↗
(buffer: Uint8Array)
Source
from the content-addressed store, hash-verified
13
}
14
15
function
uint8ArrayToHex(buffer: Uint8Array) {
16
return
Array.from(buffer)
17
.map((byte: number) => byte.toString(16).padStart(2,
"0"
))
18
.join(
""
);
19
}
20
21
export
interface
EnvVar {
22
key: string
Callers
1
encryptEnvVars
Function · 0.70
Calls
1
from
Method · 0.45
Tested by
no test coverage detected