bc-java
bc-java copied to clipboard
Bouncy Castle Java Distribution (Mirror)
Both options below fail with the error - `cannot create signer: no such algorithm: ML-DSA-65 for provider BCPQC` on Bouncy castle v1.80 ``` ContentSigner contentSigner = new JcaContentSignerBuilder("Dilithium3") .setProvider("BCPQC") .build(keyPair.getPrivate());...
``` var g = KeyPairGenerator.getInstance("HashMLDSA65-Ed25519-SHA512"); var sk = g.generateKeyPair().getPrivate(); var f = KeyFactory.getInstance("HashMLDSA65-Ed25519-SHA512"); System.out.println(sk.getFormat()); // it is "PKCS#8" f.generatePrivate(new PKCS8EncodedKeySpec(sk.getEncoded())); ``` The last line failed with ``` Exception in thread...
Until v1.76 (included) RSACoreEngine worked when the passed in RSA CRT parameters was without public exponent. With a simulator that uses BC (jcardsim, simulating JavaCard) the private CRT key object...
This PR contains some missing methods that were not yet merged in #1911 The PR was created by adding in missing functionality that the current v6 branch of PGPainless depends...
If we cannot go for Java 8 features yet, we can at least leverage Java 5 features. Here is the first of some modernization PRs
If we cannot go for Java 8 features yet, we can at least leverage Java 5 features. Here is the 3rd of some modernization PRs
If we cannot go for Java 8 features yet, we can at least leverage Java 5 features. Here is the 2nd of some modernization PRs
We are currently utilizing Bouncy Castle bctls-jdk15on and bcprov-jdk15on version 1.59 with Java 6. Our current project requires us to upgrade our system to accommodate a communication partner who is...
When running the Romulus stream cipher in encryption mode the call to getOutputSize() does not account for the length of the data that has been previously buffered up for processing...
Hi, We have a problem since an update of bcprov when wrapping a string anyhow::Result { let secret = "toto1234"; println!("secret: {}", secret); let key_bytes = "34B6E58B090922C15641EE98183682F5".as_bytes(); let mut k32...