Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Basic Apache Commons Codec usage

Header Image

  1. Encoding and decoding strings
    • This article covers Base64 and hexadecimal encoding and decoding of strings using Apache Commons Codec, including code examples for encoding and decoding messages.
  2. Compressing and decompressing data
    • This article covers the use of Apache Commons Codec for data compression and decompression, specifically focusing on the Zlib and gzip compression algorithms.
  3. Encrypting and decrypting data
    • This article covers the basics of data encryption and decryption using Message Digests and Symmetric encryption algorithms supported by Apache Commons Codec library.
  4. Generating random numbers
    • The article explains how to generate random numbers using the SecureRandom class from the Apache Commons Codec library.

Table of contents