ladybird/Tests/LibWeb/Text/input/Crypto/SubtleCrypto-hmac.html
2025-03-20 11:50:49 +01:00

23 lines
511 B
HTML

<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest(async done => {
await crypto.subtle.exportKey(
"jwk",
await crypto.subtle.generateKey(
{
name: "HMAC",
hash: {
name: "SHA-512",
},
},
!0,
["sign", "verify"]
)
);
println("Does not crash.");
done();
});
</script>