Home / Function/ getEncryptedComponentExport() — astro Function Reference

getEncryptedComponentExport() — astro Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  01bb668a_4d4a_5361_54e0_3a9bf0d7505f["getEncryptedComponentExport()"]
  f70a7047_7ccc_b7ad_81e5_76bae835b053["csp-server-islands.test.js"]
  01bb668a_4d4a_5361_54e0_3a9bf0d7505f -->|defined in| f70a7047_7ccc_b7ad_81e5_76bae835b053
  4fbd866f_9864_7e00_154e_4ecd81616f93["createKeyFromString()"]
  01bb668a_4d4a_5361_54e0_3a9bf0d7505f -->|calls| 4fbd866f_9864_7e00_154e_4ecd81616f93
  style 01bb668a_4d4a_5361_54e0_3a9bf0d7505f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/test/csp-server-islands.test.js lines 22–27

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/csp-server-islands.test.js.
Where is getEncryptedComponentExport() defined?
getEncryptedComponentExport() is defined in packages/astro/test/csp-server-islands.test.js at line 22.
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