Tagged articles
signature verification
15 articles · Page 1 of 1
This article explains five practical solutions to prevent API replay attacks, including unique nonces with Redis storage, timestamp validation, combined signature-timestamp-nonce schemes, backend-issued one-time tokens, and business-level idempotency keys for critical operations like payments.
API SecurityBackend DevelopmentIdempotency
0 likes · 6 min read

A four‑day sprint turned into a week‑long integration effort, revealing hidden code paths, mismatched documentation, signature confusion, and field‑mapping errors, which were finally untangled by an AI Agent that mapped entry points, generated replayable curl commands, and produced a structured hand‑off document.
AI AgentAPI DebuggingBackend Development
0 likes · 10 min read

The article explains how to isolate external takeaway platform callbacks—Meituan, Douyin, JD Daojia—into a dedicated service, covering signature verification, idempotent processing with Redisson locks, and the end‑to‑end order handling flow that syncs with the core order domain.
Distributed LockDouyinIdempotency
0 likes · 10 min read

This article provides an in‑depth technical walkthrough of the eBPF loader implementation, explains two signature schemes, details map creation, hash calculation, CO‑RE relocation handling, the use_loader mode, kernel‑side verification via Hornet LSM, and discusses the advantages, limitations, and TOCTOU concerns.
BPF loaderCO-REHornet LSM
0 likes · 31 min read

This article walks through the design and implementation of a robust API security solution using a hybrid AES‑RSA encryption architecture, covering threat analysis, algorithm selection, key exchange, signature verification, replay‑attack defenses, and a complete Spring Boot codebase with best‑practice recommendations.
AESAPI SecurityHybrid Encryption
0 likes · 39 min read

This guide walks through a complete Java implementation for Alipay's periodic (cycle) payment service, covering business prerequisites, Spring Boot configuration, signing and deduction APIs, callback verification, retry mechanisms, scheduled tasks, and reconciliation, with production‑grade code examples.
API integrationAlipayJava
0 likes · 46 min read

Learn how to create a local Flask-based mock payment callback server that validates signatures, returns standardized responses for platforms like WeChat and Alipay, includes a recommended project structure, detailed code examples, testing with pytest, and tips for extending functionality and exposing it via ngrok.
Flaskmock serverpayment callback
0 likes · 7 min read

The article explains how to encapsulate asynchronous notification signature verification in Spring MVC by creating a custom annotation and argument resolver, discusses why aspects and @RequestBody are unsuitable, and presents an alternative unified notification handling design using a service interface and dynamic implementation loading.
Javaannotationcustom argument resolver
0 likes · 9 min read


JavaEdgeSep 9, 2024 · Backend Development
This article outlines essential backend best practices for integrating WeChat Pay v2, covering correct handling of order amounts, trade type fields, second signatures, merchant binding, currency units, duplicate consumption prevention, payment result verification, non‑transactional operation logging, and the unified order API.
BackendJavaPayment Integration
0 likes · 6 min read

This article explains the purpose, core methods, and practical implementation of Spring MVC’s RequestBodyAdvice and ResponseBodyAdvice extension points, including code examples for request decryption, signature verification, response encryption, unified result wrapping, and the underlying request‑processing flow within the framework.
API SecurityRequestBodyAdviceResponseBodyAdvice
0 likes · 23 min read

This article explains the concept of open interfaces and signature verification, outlines the end‑to‑end signing and verification flow, and provides a complete Spring Boot implementation including configuration properties, a signature manager, custom annotation, AOP aspect, request‑caching filter and utility classes, all illustrated with code snippets.
API SecurityJavaOpenAPI
0 likes · 20 min read

This guide explains why and how to verify WeChat Pay V3 response signatures using Java, covering certificate serial checks, constructing the verification string from response headers, and performing SHA256‑with‑RSA validation to ensure responses truly originate from the WeChat Pay server.
API SecurityJavaRSA
0 likes · 7 min read


58 TechJan 8, 2020 · Information Security
This article explains the principles and practical implementations of iOS security hardening techniques—including code obfuscation, anti‑debugging, signature verification, and abnormal data detection—illustrated with real‑world examples from the 58.com iOS client.
Anti-debuggingSecuritycode obfuscation
0 likes · 16 min read

This article explains the background of Android app signing, outlines the core security objectives of confidentiality, integrity and availability, compares static and dynamic JNI registration methods, demonstrates native signature verification and certificate integrity checks, and summarizes common cracking techniques together with practical hardening solutions.
AndroidJNINative
0 likes · 16 min read

This article enumerates the typical traps encountered while developing an Android APK protection solution—such as signature verification, JNI library stripping, smali injection limits, magic‑number manipulation, and post‑obfuscation safeguards—and offers practical mitigation strategies for each.
APK protectionAndroid SecurityJNI
0 likes · 11 min read
