Why do people use bouncycastle instead of Java embedded in the JCE provider? What is the difference?

Why do people use bouncycastle instead of the Java Cryptography Extension? What is the difference?

+58
java cryptography
May 28 '10 at 9:40
source share
3 answers

BouncyCastle has many more sets and encryption algorithms than the default JCE provided by Sun.

In addition to this, BouncyCastle has many utilities for reading mysterious formats, such as PEM and ASN.1, which no sane person would want to rewrite themselves.

+54
May 28 '10 at 10:15
source share

Bouncy Castle is Australian in origin and therefore not subject to Export cryptography from the USA .

This is useful if you are outside the United States and you need to manage larger key sizes than are permitted by such restrictions. In this case, you are not allowed to use software from the USA for this.

+13
May 26 '15 at
source share

On the server or on the desktop, I see no reason to use BC unless you need to deal with some legacy ciphers or formats not supported by Sun JCE.

However, many JREs do not ship with the JCE provider, for example, in mobile or embedded environments. BC is useful in such cases.

+7
May 28 '10 at 13:15
source share



All Articles