简体   繁体   English

是否有人在jsbn.js上实现了GWT JSNI包装器?

[英]Has anyone implemented a GWT JSNI wrapper over jsbn.js?

I am looking for code wrapping the Javascript BigInteger jsbn.js module for use in GWT. 我正在寻找包装Javascript BigInteger jsbn.js模块以在GWT中使用的代码。 Does anyone have some to share? 有人可以分享吗? I could not find any on Google. 我在Google上找不到任何内容。 Thanks. 谢谢。

Your best option is probably to use the GWT-Math library: http://code.google.com/p/gwt-math/ 最好的选择可能是使用GWT-Math库: http : //code.google.com/p/gwt-math/

It includes implementations of java.math.BigDecimal and java.math.BigInteger. 它包括java.math.BigDecimal和java.math.BigInteger的实现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM