apiref
seald@0.0.2

unseal()  Function

Unseals a string that contains a sealed string

Signature

export declare function unseal(str: string, keys: Record<string, string>): string;

Parameters

ParameterTypeDescription
strstring

The text which contains sealed parts

keysRecord<string, string>

A mapping from public key to secret key

(Returns)string

The text with sealed parts replaced with the original text