Dart 中的大数字(编译为 JS)
Large numbers in Dart (compilation to JS)
我正在阅读@seth ladd 关于 dart 中数字的 this 博文,并且想知道是否有一个既定的方法来处理大数字,如果程序必须编译为 java 脚本。我认为这在密码学中可能很重要。
我知道有两个社区包,bignum and decimal. There is also an issue 在跟踪器中。
您可能还对 fixnum 包感兴趣,它提供了一个可以编译为 JS 的 64 位整数。
对于浏览器中的加密,内置的浏览器 API 也开始可用。这是最新的 WebCrypto spec.
还有一个crypto package, this is implemented in Dart and can be used in the browser and the server. You can see the source here.
我正在阅读@seth ladd 关于 dart 中数字的 this 博文,并且想知道是否有一个既定的方法来处理大数字,如果程序必须编译为 java 脚本。我认为这在密码学中可能很重要。
我知道有两个社区包,bignum and decimal. There is also an issue 在跟踪器中。
您可能还对 fixnum 包感兴趣,它提供了一个可以编译为 JS 的 64 位整数。
对于浏览器中的加密,内置的浏览器 API 也开始可用。这是最新的 WebCrypto spec.
还有一个crypto package, this is implemented in Dart and can be used in the browser and the server. You can see the source here.