How do bcprov and bcprov-ext differ?

心已入冬 提交于 2019-12-10 03:14:26

问题


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?


回答1:


bcprov is typically the library you want.

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:

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 seems to be this algorithm. Personally I'd never heard of it before...



来源:https://stackoverflow.com/questions/29211582/how-do-bcprov-and-bcprov-ext-differ

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!