pgp-encryption icon indicating copy to clipboard operation
pgp-encryption copied to clipboard

Utility to PGP encrypt and decrypt anything (bytes, file, streams)

Results 2 pgp-encryption issues
Sort by recently updated
recently updated
newest added

Awesome code you've made but I've noticed when encrypting the file with ARMOR ON, it was reeeeally slow. Resolved it by wrapping the OutputStream into BufferedOutputStream before wrapping to ArmoredOutputStream....

I am running a test . @Before is failing with this error. log - java.lang.RuntimeException: org.bouncycastle.openpgp.PGPException: org.bouncycastle.openpgp.PGPPublicKeyRing found where PGPSecretKeyRing expected at com.malkeith.pgpUtils.PgpEncryptionTest.init(PgpEncryptionTest.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)...