saltWithRounds static method

Future<String> saltWithRounds({
  1. required int rounds,
})

Generate a salt with a given cost. Cost must be between 4 and 31.

Implementation

static Future<String> saltWithRounds({required int rounds}) async =>
    await (_channel.invokeMethod('saltWithRounds', {'rounds': rounds}));