Implement SubtleCrypto.digest (#34034)

* Implement SubtleCrypto.digest

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Update WPT expectations

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2024-10-30 03:06:02 +01:00 committed by GitHub
parent 01820e2a8a
commit 7fa548f555
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 108 additions and 516 deletions

View file

@ -33,8 +33,8 @@ interface SubtleCrypto {
// CryptoKey key,
// BufferSource signature,
// BufferSource data);
// Promise<any> digest(AlgorithmIdentifier algorithm,
// BufferSource data);
Promise<any> digest(AlgorithmIdentifier algorithm,
BufferSource data);
Promise<any> generateKey(AlgorithmIdentifier algorithm,
boolean extractable,