Tag

File Hashing

1 views collected around this technical thread.

Xingsheng Youxuan Technology Community
Xingsheng Youxuan Technology Community
Sep 27, 2022 · Frontend Development

How WebAssembly Supercharges Front‑End File Hashing Compared to JavaScript

By replacing JavaScript’s SparkMD5 with a Rust‑compiled WebAssembly module, the team dramatically reduced MD5 hash computation time for large files, cutting processing from over 30 seconds to under 7 seconds, while also improving CPU usage and enhancing data security for their cloud storage project.

File HashingMD5Performance
0 likes · 6 min read
How WebAssembly Supercharges Front‑End File Hashing Compared to JavaScript
Laravel Tech Community
Laravel Tech Community
May 12, 2021 · Backend Development

hash_hmac_file() – Generating a Keyed HMAC Hash of a File’s Contents

hash_hmac_file() is a PHP function that computes a keyed HMAC hash of a file using a specified algorithm and secret key, returning either a raw binary digest or a lowercase hexadecimal string, with detailed parameter explanations and a complete usage example.

Backend DevelopmentFile HashingHMAC
0 likes · 2 min read
hash_hmac_file() – Generating a Keyed HMAC Hash of a File’s Contents
Laravel Tech Community
Laravel Tech Community
May 10, 2021 · Backend Development

Using hash_file() to Generate a File Hash in PHP

This article explains PHP's hash_file() function, its parameters, return values, security use cases, and provides a complete example demonstrating how to compute an MD5 hash of a file, including code snippets and expected output.

BackendFile Hashinghash_file
0 likes · 3 min read
Using hash_file() to Generate a File Hash in PHP