From 5c3065b43a61a5fa019cbbb157984fc5eb81d439 Mon Sep 17 00:00:00 2001 From: Padraic-O-Mhuiris Date: Wed, 21 Feb 2024 16:49:07 +0000 Subject: feat(tvix/eval): implement `builtins.hashString` Implements md5, sha1, sha256 and sha512 using the related crates from the RustCrypto hashes project (https://github.com/RustCrypto/hashes) Change-Id: I00730dea44ec9ef85309edc27addab0ae88814b8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11005 Tested-by: BuildkiteCI Reviewed-by: aspen --- tvix/eval/docs/builtins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tvix/eval/docs') diff --git a/tvix/eval/docs/builtins.md b/tvix/eval/docs/builtins.md index 39b59437e2..eff761c705 100644 --- a/tvix/eval/docs/builtins.md +++ b/tvix/eval/docs/builtins.md @@ -66,7 +66,7 @@ The `impl` column indicates implementation status in tvix: | hasAttr | false | | | | | hasContext | false | | | | | hashFile | false | | false | todo | -| hashString | false | | | todo | +| hashString | false | | | | | head | false | | | | | import | true | | | | | intersectAttrs | false | | | | -- cgit 1.4.1