This commit is contained in:
unfunny
2026-09-12 23:57:45 -04:00
parent 986c0af682
commit dfe4cc537f
1775 changed files with 246421 additions and 0 deletions

10
node_modules/matrix-js-sdk/lib/digest.d.ts generated vendored Normal file
View File

@@ -0,0 +1,10 @@
/**
* Computes a SHA-256 hash of a string (after utf-8 encoding) and returns it as an ArrayBuffer.
*
* @param plaintext The string to hash
* @returns An Uint8Array containing the SHA-256 hash of the input string
* @throws If the subtle crypto API is not available, for example if the code is running
* in a web page with an insecure context (eg. served over plain HTTP).
*/
export declare function sha256(plaintext: string): Promise<Uint8Array>;
//# sourceMappingURL=digest.d.ts.map