Works with scrypt.