bcprov和bcprov-ext有何区别? [英] How do bcprov and bcprov-ext differ?
问题描述
我注意到有两个Java的Bouncycastle提供程序库; bcprov 和 bcprov-ext 。它们有何不同?
I noticed that there are two bouncycastle provider libraries for Java; bcprov and bcprov-ext. How do they differ? How do I choose which to use?
推荐答案
bcprov 通常是您想要的库。
bcprov-ext 包含一些晦涩的加密算法,自v1.4.0以来就不再是主要版本的一部分。
bcprov-ext includes some obscure crypto algorithms that haven't been part of the main release since v1.4.0.
这在最新发布页面中进行了简要说明:
This is briefly explained on the latest releases page:
从1.40版开始,应许多用户的要求,从常规jar文件中删除了一些加密算法的实现。名称形式为
*-ext-*
的罐子仍包含这些罐子(当前列表为:NTRU)。
From release 1.40 some implementations of encryption algorithms were removed from the regular jar files at the request of a number of users. Jars with names of the form
*-ext-*
still include these (at the moment the list is: NTRU).
NTRU似乎是此算法。就我个人而言,我以前从未听说过它。
NTRU seems to be this algorithm. Personally I'd never heard of it before...
这篇关于bcprov和bcprov-ext有何区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!