mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-11-11 04:01:35 -10:00
A javascript template that reads a large response with Recv has to hold the whole body to compare it, since only the DSL hash functions exist and they take the full input. hash.New(algorithm) returns a running hash: Write and WriteString add chunks and Sum returns the value so far, in the same format as the DSL md5, sha1, sha256, sha512 and mmh3 functions. Memory does not grow with the data hashed.