Tag Archives: BouncyCastle

RSA signatures in Java with Bouncy Castle

This is a complete guide, starting from RSA key pair generation into PEM files, through loading private/public keys from files into proper Bouncy Castle objects, to digital signature creation and verification – all using Bouncy Castle. No JCA. How to … Continue reading

Posted in Java, security | Tagged , | Leave a comment

AES 256 without JCE Unlimited Strength Jurisdiction Policy Files

Once upon a time I wanted my Java application to encrypt/decrypt some data. I decided to use AES (Advanced Encryption Standard, Rijndael) encryption algorithm with 256-bit key. AES is supported by Java SE by a built-in JCA (Java Cryptography Architecture) … Continue reading

Posted in Java | Tagged , , , | Leave a comment