Skip to content

SealingKey

A key made from a password. It can lock a text (make it unreadable) and unlock it again, and it can do nothing else. The plugin never sees the key itself.

open(sealed, place): string;

Gives back the original text.

Parameter Type Description
sealed string the locked text
place string the place it was locked for. Any other place fails

string

an error whose reason is wrong-key (the password was wrong, or the text was changed) or not-sealed (the text was never locked)


seal(text, place): string;

Turns a text into locked text, which cannot be read without the key.

Parameter Type Description
text string the text to lock
place string what the text belongs to, for example row:a. It is required and cannot be empty. A locked text can only be unlocked in the place it was locked for

string

the locked text