Hi Kass,
in some cases you may have the exception NoSuchProviderException BC, you'd better surround your code with try/catch statement and handle this exception by adding this portion of the code:
Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
|
KeyPairGenerator keyGen = KeyPairGenerator.getInstance("ECDSA","BC"); |
also please add in the readme file: the maven dependency for maven users:
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.47</version>
</dependency>
Hi Kass,
in some cases you may have the exception NoSuchProviderException BC, you'd better surround your code with try/catch statement and handle this exception by adding this portion of the code:
Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());NoobChain-Tutorial-Part-2/src/noobchain/Wallet.java
Line 21 in a40ba47
also please add in the readme file: the maven dependency for maven users: