File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5790,7 +5790,8 @@ dependent upon the key type.
57905790
57915791` algorithm ` is required to be ` null ` or ` undefined ` for Ed25519, Ed448, and
57925792ML-DSA. For Ed25519 and Ed448, this function uses the pure signature schemes
5793- from [ RFC 8032] [ ] (or Ed25519ctx when a ` context ` is provided). Ed25519 and
5793+ from [ RFC 8032] [ ] (or Ed25519ctx when a non-empty ` context ` is provided;
5794+ an empty or absent context uses pure Ed25519). Ed25519 and
57945795Ed448 signatures produced by this function cannot be verified with
57955796[ ` crypto.verifyDigest() ` ] [ ] because it uses the Ed25519ph and Ed448ph prehash
57965797variants which have different domain separation.
@@ -5998,7 +5999,8 @@ key type.
59985999
59996000` algorithm ` is required to be ` null ` or ` undefined ` for Ed25519, Ed448, and
60006001ML-DSA. For Ed25519 and Ed448, this function uses the pure signature schemes
6001- from [ RFC 8032] [ ] (or Ed25519ctx when a ` context ` is provided). Ed25519 and
6002+ from [ RFC 8032] [ ] (or Ed25519ctx when a non-empty ` context ` is provided;
6003+ an empty or absent context uses pure Ed25519). Ed25519 and
60026004Ed448 signatures produced by [ ` crypto.signDigest() ` ] [ ] cannot be verified with
60036005this function because they use the Ed25519ph and Ed448ph prehash variants which
60046006have different domain separation.
You can’t perform that action at this time.
0 commit comments