Feature #3831
Implement native/NDK SHA-1 function
Status: | New | Start date: | 10/01/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | 10/17/2014 | |
Assignee: | hans | % Done: | 0% | |
Category: | - | |||
Target version: | Back Burner | |||
Component: |
Description
Replace the Java MessageDigest hashing logic here with something in the NDK:
History
#1 Updated by hans over 3 years ago
The goal here is efficiency, right? Are there any other reasons to implement this outside of Java?
#2 Updated by n8fr8 over 3 years ago
hans wrote:
The goal here is efficiency, right? Are there any other reasons to implement this outside of Java?
What is nice about say calling the shell > md5 <foo.mp4> command is that that happens in a separate process, and for whatever reason, is very fast compared to using a Java InputStream to read in the bytes into a MessageDigest and so on.
So, yes, efficiency, memory management, whatever you want to call it, we want the SHA-1 hash generation of media files to have less impact and be faster than it currently is.
#3 Updated by n8fr8 over 2 years ago
- Target version changed from InformaCam - APP Public Beta v2 to Back Burner