About me
-
💼 Android Engineer
-
🦀 Flutter follower, Rust Beginner, OpenWrt
-
💬 Ask me about anything here
🦀🦀 High performance Crypto library of Rust implementation for Flutter
License: MIT License
About me
💼 Android Engineer
🦀 Flutter follower, Rust Beginner, OpenWrt
💬 Ask me about anything here
Code below work fine on iOS simulator and Android devices, but throw exception on iOS devices.
var ret = rHash.filePath(HashType.SHA3_224, path);
The stack is
[VERBOSE-2:ui_dart_state.cc(199)] Unhandled Exception: Invalid argument(s): Failed to lookup symbol (dlsym(RTLD_DEFAULT, rust_cstr_free): symbol not found)
#0 DynamicLibrary.lookup (dart:ffi-patch/ffi_dynamic_library_patch.dart:31)
dart-lang/ffi#1 _Loader.freeCString (package:r_crypto/src/basic/loader.dart)
package:r_crypto/…/basic/loader.dart:1
dart-lang/ffi#2 _GrowableList.forEach (dart:core-patch/growable_array.dart)
dart-lang/ffi#3 _Loader.freeCStrings (package:r_crypto/src/basic/loader.dart:72)
dart-lang/ffi#4 _Hash.filePath (package:r_crypto/src/hash.dart:142)
dart-lang/ffi#5 ObjectNameGenerator.getKey (package:aliyun_oss/src/name_generator.dart:10)
dart-lang/ffi#6 ObjectNameGenerator.getName (package:aliyun_oss/src/name_generator.dart:33)
dart-lang/ffi#7 AliyunOss.getObjectName (package:aliyun_oss/src/aliyun_oss.dart:345)
dart-lang/ffi#8 _MessageSessionDetailPageState._uploadFile (package:flutter_yuanling_app/message_module/view/message_session_detail_page.dart:1391)
dart-lang/ffi#9 _MessageSessionDetailPageState._buildChatInput.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:flutter_yuanling_app/message_module/view/message_session_detail_page.dart:712)
<asynchronous suspension>
Invalid argument(s): Failed to load dynamic library 'rcrypto.dll': The specified module could not be found.
(error code: 126)
Can you please provide support for windows?
There's another Rust project for hashes called fasthash
, which implements a bunch of modern non-cryptographic hashing algorithms, like xxHash and meowhash.
It would be great if this library also supported those hashes! It looks like fasthash
also supports the Digest
trait, which I think this library relies on?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.