Constructors
Methods
decryptWithNoteKey
- decryptWithNoteKey(
note_id: bigint,
owner: string,
data_: string,
refresh?: (note_id: bigint) => Promise<string>,
): Promise<string> Parameters
- note_id: bigint
- owner: string
- data_: string
Optional
refresh: (note_id: bigint) => Promise<string>
Returns Promise<string>
encryptWithNoteKey
- encryptWithNoteKey(
note_id: bigint,
owner: string,
data: string,
): Promise<string> Parameters
- note_id: bigint
- owner: string
- data: string
Returns Promise<string>