We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I added the code in MainActivity to test the performance.
long start = System.currentTimeMillis(); for(int i=0; i<10000; i++) { data = AESCryptor.crypt(data, System.currentTimeMillis(), 0); } long end = System.currentTimeMillis(); System.out.println("JNI_AESCryptor Time="+(end-start));
And I got about 43 second each time. But the JavaAESCryptor.encrypt always ran about 7 second.
What makes these happening? Maybe my test method was wrong?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I added the code in MainActivity to test the performance.
long start = System.currentTimeMillis();
for(int i=0; i<10000; i++)
{
data = AESCryptor.crypt(data, System.currentTimeMillis(), 0);
}
long end = System.currentTimeMillis();
System.out.println("JNI_AESCryptor Time="+(end-start));
And I got about 43 second each time.
But the JavaAESCryptor.encrypt always ran about 7 second.
What makes these happening?
Maybe my test method was wrong?
The text was updated successfully, but these errors were encountered: