I mistakenly depended on String.hashCode's value in a flutter app and stored it in a server side. Now I want to be able to calculate a hash code of a string in nodeJS and get the same result as dart...
How can I achieve it? Didn't find the actual implementation of the String.hashCode in dart.
The vm implementation of String.hashCode can be found in the sdk repo on github (https://github.com/dart-lang/sdk):
Example:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With