@orangecheck/vault-core / packEntryForCloud
Function: packEntryForCloud()
function packEntryForCloud(entry: VaultEntry, key: Uint8Array): string;
Defined in: vault-core/src/crypto.ts:191
Pack an entry into a cloud blob — the outer AES-GCM layer that keeps the
server blind to entry names and types. The inverse of
unpackEntryFromCloud.
Parameters
| Parameter | Type |
|---|---|
entry | VaultEntry |
key | Uint8Array |
Returns
string