Closed redDwarf03 closed 2 years ago
[✓] Flutter (Channel stable, 3.3.8, on macOS 13.0.1 22A400 darwin-arm, locale fr-FR)
• Flutter version 3.3.8 on channel stable at /Users/SSe/SSe/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 52b3dc25f6 (il y a 12 jours), 2022-11-09 12:09:26 +0800
• Engine revision 857bd6b74c
• Dart version 2.18.4
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at /Users/SSe/Library/Android/sdk
• Platform android-33, build-tools 32.1.0-rc1
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14B47b
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] VS Code (version 1.73.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.52.0
[✓] Connected device (3 available)
• iPhone SE (3rd generation) (mobile) • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.0.1 22A400 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 107.0.5304.110
[✓] HTTP Host Availability
• All required HTTP hosts are available
JS has no native intger support only IEEE-754 floating point numbers and the dart team do not provide an analog for that during transpilation process.
In this case IEEE-754 can only represent a subset of unsigned 64 bit integers.
There seems to be a simple fix. Change this line var length = Uint8List.view((Uint64List(2)..[0] = iv.length * 8).buffer);
to var length = Uint8List.view((Uint32List(4)..[0] = iv.length * 8).buffer);
Which would seem to be equivalent for all practical values of IV length.
@mwcw, hello. With @richardheap and stackoverflow answers, is it possible to reopen this issue please ?
@redDwarf03 Please make the changes yourself, test and submit a PR.
@richardheap . A PR is available.
Hello
i have this issue in web mode :
any idea ? Thx