passwordSync static method

EncryptionKey passwordSync(
  1. String password
)

Derives an EncryptionKey from a password.

If your UI uses passwords, call this method to create the key used to encrypt the database. It is designed for security, and deliberately runs slowly to make brute-force attacks impractical.

See also:

Implementation

static EncryptionKey passwordSync(String password) =>
    EncryptionKeyImpl.passwordSync(password);