deriveKey static method
Derives a key using scrypt with default parameters
password - The password to derive the key from
salt - The salt to use for key derivation
Returns a Future
Implementation
static Future<String> deriveKey(String password, String salt) {
return deriveKeyBytes(password, salt).then((bytes) => _bytesToHex(bytes));
}