I am using bouncy castle provider for AES encryption. I need to create a fat jar from bc and my jar but as soon as i do it i get Algorithm not found exception. Is it possible to get rid of the sign and create regular jar out of it?
My build process is..
- i unzip all jars in to my build directory.
- then remove META-INF directory
- compile my application
- jar it using ant
iget the error when i try to use the
SecretKeyFactory.getInstance(algorithm);
algorithm is PBEWITHSHA256AND128BITAES-CBC-BC from bouncy castle.