Tagged articles
decryption
19 articles · Page 1 of 1
The article details implementing automatic decryption for sensitive Disconf configurations by extending Spring's PropertyPlaceholderConfigurer, revealing why hot updates bypassed decryption and how overriding mergeProperties ensures consistent decryption at startup and runtime.
Configuration ManagementDisconfKMS
0 likes · 16 min read

The article explains fundamental concepts of encryption and decryption, compares symmetric (AES, DES) and asymmetric (RSA, SM2) methods, describes hash functions (SHA256, MD5, SM3) and their proper use with salting, outlines hybrid RSA‑AES schemes, HTTPS workflow, and common pitfalls such as misuse of Base64.
AESHTTPSRSA
0 likes · 8 min read

This article presents a comprehensive solution for securing API interfaces by combining symmetric and asymmetric encryption, hashing, and signature techniques, illustrating the design, key exchange, data protection workflow, code implementation, and security analysis to prevent tampering, replay attacks, and unauthorized access.
AESAPI SecurityHTTPS
0 likes · 14 min read

This article explains RSA’s history, key generation steps, encryption and decryption processes, the mathematical foundations behind its security, practical considerations like key length and random number generation, and common application scenarios such as secure communications, digital signatures, and authentication.
JavaKey generationRSA
0 likes · 13 min read

This article explains the concepts behind SpringBoot Starters, walks through the creation of a custom starter that provides global request/response encryption and decryption using SM2, shows the project structure, key configuration files, core code, testing steps, and subsequent optimizations.
BackendJavaSpringBoot
0 likes · 10 min read

This guide shows how to create random passwords using pwgen, generate an RSA key with OpenSSL, then encrypt and decrypt those passwords via command‑line tools, including example commands and sample outputs, while emphasizing security best practices for key handling.
OpenSSLdecryptionencryption
0 likes · 3 min read

This article provides Python implementations and usage examples for a range of encryption and decryption techniques—including AES, RSA, Caesar cipher, Base64, SHA‑256/HMAC, Blowfish, DES, ChaCha20‑Poly1305, and XOR—along with notes on required libraries and security considerations.
AESCaesar CipherPython
0 likes · 11 min read

This article explains the principles of RSA asymmetric encryption, illustrates two communication scenarios, and provides a step‑by‑step Spring Boot implementation with Maven dependencies, configuration, annotations, and front‑end JavaScript code to encrypt API requests and decrypt responses, helping developers secure their APIs.
API SecurityJavaRSA
0 likes · 12 min read

This article explains how to protect user‑sensitive information such as ID numbers and phone numbers by encrypting data before insertion and decrypting after retrieval using a MyBatis interceptor that leverages custom annotations, AES utilities, and minimal code intrusion.
JavaMyBatisdecryption
0 likes · 14 min read

This article explains how to securely encrypt and decrypt user‑submitted form data in PHP using the AES‑256‑CBC algorithm, providing step‑by‑step code examples for creating encryption/decryption functions, applying them to form inputs, and emphasizing key safety and HTTPS.
BackendForm SecurityPHP
0 likes · 4 min read

This article explains the PHP mdecrypt_generic() function, its parameters, and provides a complete example that demonstrates opening an encryption module, encrypting data, decrypting it back, and verifying the result while handling necessary initialization and cleanup steps.
decryptionencryptionmcrypt
0 likes · 2 min read

The PHP mcrypt_decrypt() function decrypts data using a specified cipher, key, mode, and optional initialization vector, returning the plaintext string or FALSE on failure, with detailed parameter descriptions and usage notes.
decryptionencryptioninformation security
0 likes · 2 min read

This article explains the PHP mcrypt_cbc() function, detailing its two prototypes for different libmcrypt versions, the full parameter list—including optional IV—and the mode constants MCRYPT_ENCRYPT and MCRYPT_DECRYPT used for CBC‑mode cryptographic operations.
CBCPHPdecryption
0 likes · 1 min read

This article details a step‑by‑step method for extracting live chat bullet comments from Taobao live streams by analyzing page sources, intercepting the token‑providing API with Puppeteer, establishing a WebSocket connection, and decoding the received base64‑ and GZIP‑compressed messages to retrieve clean usernames and comment texts.
PuppeteerTaobaoWebSocket
0 likes · 9 min read

This article explains how to capture a video site's POST data with Fiddler, locate encrypted M3U8 stream URLs, and use Python 3 with the pycryptodome library to decrypt and download the video files for playback or conversion.
PyCryptodomedecryptionm3u8
0 likes · 2 min read

This article demonstrates how to replace the deprecated mcrypt functions in PHP with OpenSSL by providing a compact Aes class that handles AES‑128‑CBC encryption and decryption, including configuration of key, IV, and method, and shows practical usage examples.
AESOpenSSLdecryption
0 likes · 3 min read

This article explains MyBatis interceptors, showing how to intercept SQL execution, parameter setting, and result processing, and provides step‑by‑step code for custom encryption/decryption annotations, a parameter interceptor, a result‑set interceptor, and the supporting IEncryptDecrypt interface.
JavaMyBatisSpring Boot
0 likes · 8 min read

This guide explains what RSA encryption is, outlines common use cases, shows step‑by‑step commands to generate private and public keys with OpenSSL, and provides a complete PHP class with methods for public‑key encryption, private‑key decryption, signing and verification, plus practical code examples.
PHPRSAdecryption
0 likes · 9 min read

This guide explains how to generate RSA key pairs on Linux, use OpenSSL commands, and implement PHP code for public‑key encryption, private‑key decryption, padding options, data‑size limits, and helper functions for handling messages larger than the RSA block size.
OpenSSLRSAcryptography
0 likes · 6 min read
