bcprov 和 bcprov-ext 有何不同?

How do bcprov and bcprov-ext differ?

我注意到 Java 有两个 bouncycastle 提供程序库; bcprovbcprov-ext。它们有何不同?我该如何选择使用哪一个?

bcprov 通常是您想要的库。

bcprov-ext 包含一些晦涩的加密算法,这些算法自 v1.4.0 以来一直未包含在主要版本中。

这在latest releases page上有简要说明:

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 好像是this algorithm。就个人而言,我以前从未听说过...