the editable site (validation-lab)

This commit is contained in:
kpgarrod committed 2026-11-21 08:03:55 +01:00
commit 3ac81d5a52
13454 files changed
+2227005

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
import { isEqual } from "./_chunks/is-equal.mjs";
import { digest } from "ohash/crypto";
/**
* Serializes any input value into a string for hashing.
*
* This method uses best efforts to generate stable serialized values.
* However, it is not designed for security purposes.
* Keep in mind that there is always a chance of intentional collisions caused by user input.
*
* @param input any value to serialize
* @return {string} serialized string value
*/
declare function serialize(input: any): string;
/**
* Hashes any JS value into a string.
*
* The input is first serialized and then hashed.
*
* @param input any value to serialize
* @return {string} hash value
*/
declare function hash(input: any): string;
export { digest, hash, isEqual, serialize };