Blazingly fast C++ implementation with JSI binding of MD5 for React Native.
Confirmed that it's 10x faster than using spark-md5 on an iPhone 11 Pro and 8x faster on an Essential Phone. You can check out the benchmark tests under example.
npm install react-native-quick-md5
import { stringMd5 } from 'react-native-quick-md5';
const md5 = stringMd5('hoge');
// => "ea703e7aa1efda0064eaa507d9e8ab7e"
Calculate MD5 for given UTF-8 string data. Returns hex encoded hash.
Calculate MD5 for given binary string or ArrayBuffer data. Returns hex encoded hash.
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT