Skip to content

JavaAnt

Java & Android tutorials

  • Android
  • Core Java
  • Couchbase
  • iOS
  • JSF
  • JSP
  • Kotlin
  • RESTful
  • Spring Boot
  • Struts
  • Unit Testing
  • All Tutorials
Home / encryption

Tag: encryption

AES encryption in Java: strings, files and objects

26th November 2026 Glenna Babshire

Encrypt and decrypt strings, files and objects in Java with AES-GCM: key generation, random IVs, Base64, password-based keys with PBKDF2, and the ECB trap to avoid. [...]

Encrypt and Decrypt Files in Java Using Cipher Class and RSA

29th March 2016 Glenna Babshire

Encrypt and decrypt files in Java using Cipher class and RSA asymmetric key pairs: public key encryption and private key decryption. [...]

String Encryption and Decryption in Java Using Cipher Class

18th June 2015 Glenna Babshire

How to encrypt and decrypt strings in Java using the Cipher class, secret keys, Base64 encoding, and symmetric algorithms. [...]

    Recent Posts

    • Apache POI tutorial: read, write and style Excel files in Java
    • ViewPager with circle indicator in Android
    • Android splash screen with the SplashScreen API
    • AES encryption in Java: strings, files and objects
    • Java records explained with examples

    Categories

    • Android (10)
    • Apache POI (3)
    • CoreJava (6)
    • Couchbase (2)
    • Java Security (3)
    • Jquery (3)
    • Jsp (5)
    • Junit (2)
    • kotlin (3)
    • Libraries (2)
    • Quartz Scheduler (1)
    • RestFul (6)
    • Struts (3)
    • Uncategorised (3)
    All tutorialsAboutRSS feed

    Copyright © 2026 | WordPress Theme by MH Themes