Top "Jce" questions

Java Cryptographic Extension : a pluggable cryptography framework where various providers can bring the desired functionality

Trust Store vs Key Store - creating with keytool

I understand that the keystore would usually hold private/public keys and the trust store only public keys (and represents …

java ssl keytool jce
Hash String via SHA-256 in Java

By looking around here as well as the internet in general, I have found Bouncy Castle. I want to use …

java bouncycastle sha256 jce
How to avoid installing "Unlimited Strength" JCE policy files when deploying an application?

I have an app that uses 256-bit AES encryption which is not supported by Java out of the box. I …

java aes jce policyfiles
How to create a secure random AES key in Java?

What is the recommended way of generating a secure, random AES key in Java, using the standard JDK? In other …

java encryption aes jce
Why java.security.NoSuchProviderException No such provider: BC?

The jar (bcprov-jdk16-145.jar) has been added to the project, Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider()) has …

java security cryptography jce
InvalidKeyException Illegal key size

I have a test which runs great on my development MacBook Pro, but fails to run in continuous integration TeamCity …

java aes jce
Java 7 and Could not generate DH keypair

I read a previous post regarding the error 'Could not generate DH keypair' fired when the server sents a key …

ssl java jce
What are the cipher padding strings in java

Everyone talks about the padding schemes in ciphers but what are the actual strings one needs to pass in to …

java padding jce
java.security.NoSuchAlgorithmException:Cannot find any provider supporting AES/ECB/PKCS7PADDING

I was trying to encrypt data using AES algorithm. However, with the following exception has occurred. java.security.NoSuchAlgorithmException: Cannot …

java security encryption aes jce
How to install unlimited strength JCE for Java 8 in OS X?

I need to install the Java Cryptography Extension for Java 8 in OS X / mac OS. It turns out the steps …

java macos jce