Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Latest commit

 

History

History
21 lines (18 loc) · 605 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 605 Bytes

not maintained anymore

phonegap-md5

Phonegap MD5 checksum plugin for Android and iOS. The plugin reads large files in chunks and build the md5sum incrementally. It can process much larger files then read the complete content in memory and process it in place.

install

yourAppDir$ phonegap plugin add https://github.com/fastrde/phonegap-md5.git

usage

fileEntry is a org.apache.cordova.file.FileEntry

function win(md5sum){
    console.log("MD5SUM: " + md5sum);
}
function fail(error){
    console.log("Error-Message: " + error);
}
md5chksum.file(fileEntry, win, fail);