Skip to content

Commit

Permalink
Error: A value of type 'List<int>' can't be assigned to a variable of…
Browse files Browse the repository at this point in the history
… type 'Uint8List'.

#224
  • Loading branch information
Tzanou123 authored Nov 17, 2023
1 parent 83fcefb commit cc24d17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ S: 235 Authentication succeeded
var password = utf8.encode(_password!);
if (password.length > 64) {
final passwordDigest = md5.convert(password);
password = passwordDigest.bytes;
password = Uint8List.fromList(passwordDigest.bytes);
}
final nonce = base64.decode(base64Nonce);
final hmac = Hmac(md5, password);
Expand Down

0 comments on commit cc24d17

Please sign in to comment.