Skip to content

ScryptModule

Unofficial

The scrypt-js library module type, representing the window.scrypt object.

Import:

import type { ScryptModule } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ScryptModule

Properties

PropertyTypeDescription
scrypttypeof scryptExDerives a key asynchronously, yielding to the event loop while it works.

Methods

MethodReturnsDescription
syncScrypt(password, salt, N, r, p, dkLen)Uint8ArrayDerives a key synchronously, blocking until it is done.

Links to this page: