Home / Function/ getEncryptedComponentExport() — astro Function Reference

getEncryptedComponentExport() — astro Function Reference

Architecture documentation for the getEncryptedComponentExport() function in server-islands.test.js from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  5aff8100_a095_934b_f3f0_8bd69567b9da["getEncryptedComponentExport()"]
  34b6b27d_d6d8_cec4_7941_5d9834c50005["server-islands.test.js"]
  5aff8100_a095_934b_f3f0_8bd69567b9da -->|defined in| 34b6b27d_d6d8_cec4_7941_5d9834c50005
  54f1110f_0142_6327_a717_581bff0b309c["createKeyFromString()"]
  5aff8100_a095_934b_f3f0_8bd69567b9da -->|calls| 54f1110f_0142_6327_a717_581bff0b309c
  style 5aff8100_a095_934b_f3f0_8bd69567b9da fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/test/server-islands.test.js lines 24–29

async function getEncryptedComponentExport(
	keyString = 'eKBaVEuI7YjfanEXHuJe/pwZKKt3LkAHeMxvTU7aR0M=',
) {
	const key = await createKeyFromString(keyString);
	return encryptString(key, 'default');
}

Subdomains

Frequently Asked Questions

What does getEncryptedComponentExport() do?
getEncryptedComponentExport() is a function in the astro codebase, defined in packages/astro/test/server-islands.test.js.
Where is getEncryptedComponentExport() defined?
getEncryptedComponentExport() is defined in packages/astro/test/server-islands.test.js at line 24.
What does getEncryptedComponentExport() call?
getEncryptedComponentExport() calls 1 function(s): createKeyFromString.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free