File utility for generating hash mac of file. Currently it suppport hmacsha256 for ios only.
npm install react-native-file-hash
import {NativeModules} from 'react-native';
// ...
var FileHash = NativeModules.FileHash;
FileHash.hashSha(<File Path>, <Encryption Key>)
.then((hmac)=>{
console.log('File hamc => ', hmac);
}
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT