Implementing AES Symmetric Encryption and Decryption in Java Backend and Vue Frontend

RC Encryption Overview RC encryption encompasses variants like RC2, RC4, and RC5. RC2, designed by Ron Rivest, serves as a symmetric block cipher alternative to DES. It processes 64-bit input/output blocks with variable key lengths from 1 to 128 bytes, though implementations typically use 8-byte keys. AES Symmetric Encryption Principles AES ope ...

Posted on Sat, 19 Sep 2026 16:34:07 +0000 by StathisG

Handling Garbled Output from Java AES Encryption

AES (Advanced Encryption Standard) is a widely used symmetric encryption algorithm in Java. Developers often encounter garbled or unreadable output when encrypting data, which can be confusing. This article outlines the root causes of such garbled results and provides practical solutions with corrected code examples. Why AES Encryption Produces ...

Posted on Wed, 02 Sep 2026 16:54:58 +0000 by zebrax

Implementing Request Encryption with RestClient Interceptors

When implementing request encryption that includes payload data, the conventional approach involves converting the request body to a string format before encryption. Here's a typical pattern: String payloadString = ModelOptionsUtils.toJsonString(payload); String hashedRequestPayload = sha256Hex(payloadString); // Add hashedRequestPayload to hea ...

Posted on Wed, 12 Aug 2026 16:55:32 +0000 by kaitan

Configuration Management in Spring Boot

Configuration Files Spring Boot supports multiple configuration formats such as .properties and YAML, enabling developers to manage application settings effectively. The @ConfigurationProperties annotation allows binding of configuration values to Java objects using a specified prefix. package tech.example.config; import org.springframework.bo ...

Posted on Tue, 21 Jul 2026 17:01:08 +0000 by ronthu

Securing Database Credentials in Spring Boot Using Druid Encryption

In production-grade software development, storing database credentials in plain text within configuration files poses a significant security risk. To mitigate this, it is standard practice to encrypt sensitive information. This article demonstrates how to leverage the Alibaba Druid connection pool to encrypt and decrypt database passwords asymm ...

Posted on Tue, 21 Jul 2026 16:49:47 +0000 by easethan

PGP, OpenPGP, and GPG: Secure Communication Protocols

PGP, OpenPGP, and GPG: Secure Communication Protocols Understanding PGP PGP (Pretty Good Privacy) is an encryption communication protocol designed to secure email communications and file transfers. It ensures data confidentiality, integrity, and authenticity through encryption, digital signatures, and compression techniques. Originally develope ...

Posted on Sat, 11 Jul 2026 17:39:29 +0000 by networkguy

Spring Boot AOP: Transparent Request/Response Encryption Example

Overview Aspect-Oriented Programming enables modular handling of cross-cutting concerns. This guide demonstrates implementing automatic encryption and decryption for controller layer data using Spring Boot AOP, allowing business logic to remain clean while security concerns are handled transparently. Core Concepts AOP terminology includes: Asp ...

Posted on Tue, 16 Jun 2026 16:38:33 +0000 by robb73

Reverse Engineering Webpack Bundles for Encryption Logic Extraction

When reverse‑engineering JavaScript‑heavy websites, sensitive operations such as encryption are often hidden inside Webpack bundles. By understanidng the bundle’s module system we can locate and directly reuse the relevant functions without re‑implementing complex cryptographic algorithms. This guide walks through three real‑world examples, sho ...

Posted on Mon, 15 Jun 2026 18:08:51 +0000 by Jiin

Implementing RSA Public Key Decryption in Android Applications

Overview of the RSA Decryption Process The process for decrypting data with a public key in Android involves three primary stages. The following table outlines these steps: Step Description 1 Generate an RSA key pair (public and private keys). 2 Encrypt plaintext data using the public key. 3 Decrypt the ciphertext using the correspon ...

Posted on Fri, 12 Jun 2026 17:14:39 +0000 by DylanBlitz

Spring Boot Shiro Integration: Custom Authentication Mechanisms

Spring Boot Shiro Integration: Custom Authentication Mechanisms Introduction to Apache Shiro Apache Shiro is a powerful and user-friendly Java security framework designed to handle authentication, authorization, session management, and cryptography. Its straightforward architecture makes it suitable for applications of all sizes, from mobile ap ...

Posted on Sat, 06 Jun 2026 18:45:38 +0000 by DapperDanMan