Implementing One-Way Hash Algorithms with OpenSSL EVP
One-Way Hash Algorithm Overview
A one-way hash function generates a fixed-size output, known as a hash value or digest, from an input of any size. This hash serves as a unique "fingerprint" for the data. Comparing hash values allows verification of data integrity without comparing the original data directly. These functions are also c ...
Posted on Tue, 20 Oct 2026 16:44:25 +0000 by moe180
Spring Boot Integration with MyBatis-Plus: Configuration and Best Practices
Integrating MyBatis-Plus with Spring Boot
1. Dependency Setup
To begin integrating MyBatis-Plus into your Spring Boot project, add the following dependencies to your pom.xml:
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
<version>3.5.11< ...
Posted on Sun, 18 Oct 2026 16:39:41 +0000 by rhathid
Exploiting MD5 Hash Length Extension Vulnerabilities
20211119 Chen Junji
Task Overview
In a system that uses the MD5 hashing algorithm, an administrator generates a signature for each command by combining a secret key k and the command cmd: hash(k||cmd). You have obtained a command cmd=viewfile along with its corresponding signature h. The goal is to use a hash length extension attack to generate ...
Posted on Sat, 10 Oct 2026 16:32:48 +0000 by [n00b]
Implementing MD5 Hashing in DB2 with Java Routines
Java ImplementationTo implement an MD5 hashing function within DB2, a Java class extending COM.ibm.db2.app.UDF is required. The class must contain a public static method that performs the hashing logic. Below is an implementation using the standard Java security library to convert an input string into its MD5 hexadecimal representation.import j ...
Posted on Fri, 31 Jul 2026 16:35:56 +0000 by EGNJohn
Cross-Platform MD5 Hashing in Android NDK
Native MD5 ImplementationImplementing cryptographic algorithms at the native C++ layer ensures cross-platform compatibility, allowing both Android and iOS to utilize the same shared library. The implementation follows the specifications outlined in RFC 1321.Header Definition (hash_engine.hpp)#ifndef HASH_ENGINE_HPP
#define HASH_ENGINE_HPP
#inc ...
Posted on Sat, 25 Jul 2026 16:36:21 +0000 by phpBuddy