Change-Id: I482dafe7e076a1a33c457b04e6146cc4b758f61f
iLen = fread(pStData, 1, sizeof(pStData), fp);
digest->add(pStData, iLen);
}
- fclose(fp);
+ //fclose(fp);
// after closing, don't forget to remove file from the list of opened files
- FileManager::deleteFile(iFile);
+ //FileManager::deleteFile(iFile);
}
}
hash('hello world', 'sha256')
hash(['hello';'world'], 'sha3-256')
-hash( mopen(SCI+'/modules/core/etc/core.start') ,'sha256')
+fp = mopen(SCI+'/modules/core/etc/core.start')
+hash(fp ,'sha256')
+mclose(fp)
]]></programlisting>
</refsection>
<refsection>
hash('hello world', 'sha256')
hash(['hello';'world'], 'sha3-256')
-hash( mopen(SCI+'/modules/core/etc/core.start') ,'sha256')
+fp = mopen(SCI+'/modules/core/etc/core.start')
+hash(fp ,'sha256')
+mclose(fp)
]]></programlisting>
</refsection>
<refsection>