unseal() Function
Unseals a string that contains a sealed string
Signature
export declare function unseal(str: string, keys: Record<string, string>): string;Parameters
| Parameter | Type | Description |
|---|---|---|
| str | string | The text which contains sealed parts |
| keys | Record<string, string> | A mapping from public key to secret key |
| (Returns) | string | The text with sealed parts replaced with the original text |