MCPcopy Create free account
hub / github.com/stackblitz/bolt.new / encodeBase64

Function encodeBase64

app/lib/crypto.ts:56–58  ·  view source on GitHub ↗
(data: string)

Source from the content-addressed store, hash-verified

54}
55
56function encodeBase64(data: string) {
57 return Uint8Array.from(atob(data), (ch) => ch.codePointAt(0)!);
58}

Callers 2

decryptFunction · 0.85
getKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected