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

Frontend Security Implementation Guide: Encryption Algorithms and Anti-Debugging Techniques

Algorithm Comparison SHA-256 AES Hash Algorithm Symmetric Encryption Irreversible Reversible No Key Storage Required Requires Key Storage When securing passwords, hash functions are typically preferred over symmetric encryption algorithms. Hash algorithms like SHA-256 are more commonly recommended for password protection due to th ...

Posted on Tue, 19 May 2026 02:23:31 +0000 by sirstrumalot

Implementing Secure Data Transmission: Hybrid Encryption with AES and RSA

When designing network request security, we face a fundamental challenge: symmetric encryption offers speed but requires secure key exchange, while asymmetric encryption provides secure key distribution but operates too slowly for bulk data encryption. This article demonstrates how to combine both approaches, following the same principles used ...

Posted on Mon, 18 May 2026 14:02:57 +0000 by khr2003

Implementing SM4 Encryption and Decryption with BouncyCastle on OpenEuler x86_64

Settting Up the Development Environment Install Java and Maven on OpenEuler: sudo yum install java-17-openjdk sudo yum install maven Creating the Project Srtucture Create a Maven project by adding the following dependencies to pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/ ...

Posted on Mon, 18 May 2026 05:31:07 +0000 by nainil