calculateServerKey method

Future<List<int>> calculateServerKey(
  1. List<int> saltedPassword
)

Implementation

Future<List<int>> calculateServerKey(List<int> saltedPassword) async {
  return (await Hmac(_hash).calculateMac(
    utf8.encode('Server Key'),
    secretKey: SecretKey(saltedPassword),
  ))
      .bytes;
}