feiwodev / encryptanddecrypt Goto Github PK
View Code? Open in Web Editor NEWEncryptAndDecrypt , NDK之文件加密解密与分割合并
EncryptAndDecrypt , NDK之文件加密解密与分割合并
文件分割算法中,判断文件是否能完整分割的判断应该是file_size%fileNum==0,因为如果if(0),0的结果是假。
还有,如果文件不能完整分割,应该是先算出分割的数量为file_part=file_size/fileNum,然后求出剩余的部分为last_file_part_size=file_size%fileNum,于是第一个循环应该是从0-fileNum-1。才对。
HelloNDK.c的文件中提示有错误,需要加上string.h才可以编译。所以建议加上。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.