deno_std icon indicating copy to clipboard operation
deno_std copied to clipboard

docs: document about which algorithms support `length` option for stdCrypto.digest

Open kt3k opened this issue 4 years ago • 3 comments

related: https://github.com/denoland/deno_std/pull/1386

kt3k avatar Oct 18 '21 17:10 kt3k

@kt3k, I believe this can be closed.

iuioiua avatar Aug 24 '22 08:08 iuioiua

@iuioiua The bug has been fixed but the docs have not been changed.

@kt3k How should this be documented? Is this just a JSDoc comment?

lino-levan avatar Oct 31 '22 21:10 lino-levan

Let's document in JSDoc comment. I also think it's better to document when length is meaningful. Do all digest algorithms respect length property? (I guess no)

kt3k avatar Nov 01 '22 08:11 kt3k