Comments (2)
您好,我认为需要先明确Jdk里crypto的实现方式,看是由于查表带来的提升,还是jni和java的差异导致的。
这个本身是业余项目,目前没有计划做AES-256和AES-192的。但是开源一般都会有不同密钥强度的实现,可以参考。
https://github.com/openssl/openssl/blob/master/crypto/aes/aes_core.c
https://github.com/ARMmbed/mbedtls/blob/development/library/aes.c
from aes_128.
我也有过是否是jni和java差异的疑虑,但是测了下连续执行很多次,最终稳定下来后确实是此版本快许多。
如果只是jni和java的差异,在warming之后JIT应该会编译热点代码从而尽量接近native的执行效率。所以应该是算法方面的差异。
Thanks Any Way.
from aes_128.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aes_128.