René's URL Explorer Experiment


Title: crypto.verify accepted types mismatch documentation (and crypto.sign) · Issue #62903 · nodejs/node · GitHub

Open Graph Title: crypto.verify accepted types mismatch documentation (and crypto.sign) · Issue #62903 · nodejs/node

X Title: crypto.verify accepted types mismatch documentation (and crypto.sign) · Issue #62903 · nodejs/node

Description: https://github.com/nodejs/node/blob/HEAD/lib/internal/crypto/sig.js#L268 > const { privateKey, publicKey } = require('crypto').generateKeyPairSync('rsa', { modulusLength: 2048 }) > require('crypto').sign('SHA256', new ArrayBuffer(32), pr...

Open Graph Description: https://github.com/nodejs/node/blob/HEAD/lib/internal/crypto/sig.js#L268 > const { privateKey, publicKey } = require('crypto').generateKeyPairSync('rsa', { modulusLength: 2048 }) > require('crypto'...

X Description: https://github.com/nodejs/node/blob/HEAD/lib/internal/crypto/sig.js#L268 > const { privateKey, publicKey } = require('crypto').generateKeyPairSync('rsa', { modulusLength: 2048 })...

Opengraph URL: https://github.com/nodejs/node/issues/62903

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"crypto.verify accepted types mismatch documentation (and crypto.sign)","articleBody":"\u003cimg width=\"1063\" height=\"127\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/8701eaa8-e793-46ae-bdf8-6acbf81a149d\" /\u003e\n\nhttps://github.com/nodejs/node/blob/HEAD/lib/internal/crypto/sig.js#L268\n\n```js\n\u003e const { privateKey, publicKey } = require('crypto').generateKeyPairSync('rsa', { modulusLength: 2048 })\n\u003e require('crypto').sign('SHA256', new ArrayBuffer(32), privateKey)\n\u003e require('crypto').verify('SHA256', new ArrayBuffer(32), publicKey, _)\nUncaught:\nTypeError [ERR_INVALID_ARG_TYPE]: The \"data\" argument must be an instance of Buffer, TypedArray, or DataView. Received an instance of ArrayBuffer\n    at Object.verifyOneShot [as verify] (node:internal/crypto/sig:261:11) {\n  code: 'ERR_INVALID_ARG_TYPE'\n}\n```\n\nDocumentation: https://nodejs.org/api/crypto.html#cryptoverifyalgorithm-data-key-signature-callback\n\u003cimg width=\"903\" height=\"346\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/67a3a582-c73d-4c16-9ff4-835ede4a0624\" /\u003e\n","author":{"url":"https://github.com/ChALkeR","@type":"Person","name":"ChALkeR"},"datePublished":"2026-04-23T05:04:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/62903/node/issues/62903"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3d5c9eff-7e41-a8db-9862-eacdf9bd7b0c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBAA6:31CFDC:2BD1F0:3C1759:6A4D3573
html-safe-nonce145b7319a45c6145b65385253e899fc3f9226dad44466bf4a7c59da846d089c5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUE2OjMxQ0ZEQzoyQkQxRjA6M0MxNzU5OjZBNEQzNTczIiwidmlzaXRvcl9pZCI6IjY5MjM5NTI2MjExNjcxMjk5NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf25f4178a13ce70fb9acd434cf0e4db847ad468aed7a46359fa97d1465fe81d4
hovercard-subject-tagissue:4313624582
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/62903/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5c4e00b31a2933c91d912cf7e90d62f417a64248f12e7639e53d4fd34792cdb6/nodejs/node/issues/62903
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5c4e00b31a2933c91d912cf7e90d62f417a64248f12e7639e53d4fd34792cdb6/nodejs/node/issues/62903
og:image:althttps://github.com/nodejs/node/blob/HEAD/lib/internal/crypto/sig.js#L268 > const { privateKey, publicKey } = require('crypto').generateKeyPairSync('rsa', { modulusLength: 2048 }) > require('crypto'...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameChALkeR
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release56fc8347865a14e2ec811533d68f929cf4e0ec19
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/issues/62903#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F62903
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F62903
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/62903
Reloadhttps://github.com/nodejs/node/issues/62903
Reloadhttps://github.com/nodejs/node/issues/62903
Please reload this pagehttps://github.com/nodejs/node/issues/62903
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/issues/62903
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.4k https://github.com/nodejs/node/issues
Pull requests 957 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
#63280https://github.com/nodejs/node/pull/63280
crypto.verify accepted types mismatch documentation (and crypto.sign)https://github.com/nodejs/node/issues/62903#top
#63280https://github.com/nodejs/node/pull/63280
cryptoIssues and PRs related to the crypto subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22crypto%22
https://github.com/ChALkeR
ChALkeRhttps://github.com/ChALkeR
on Apr 23, 2026https://github.com/nodejs/node/issues/62903#issue-4313624582
https://private-user-images.githubusercontent.com/291301/582446838-8701eaa8-e793-46ae-bdf8-6acbf81a149d.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM0NDUxNTEsIm5iZiI6MTc4MzQ0NDg1MSwicGF0aCI6Ii8yOTEzMDEvNTgyNDQ2ODM4LTg3MDFlYWE4LWU3OTMtNDZhZS1iZGY4LTZhY2JmODFhMTQ5ZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNzA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDcwN1QxNzIwNTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hNWFiZDYzYWI0OWNlZGU4ODE2NTY2MDJlNDQ2YTVkYzJkOWQxY2JlYzQyYmJmN2E2ZDQxMzI0MGNhMjg3ZTI1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.EBCnkWtZhWoeH1KECAnQGwN5WYduUZQb53ApyG_6WK8
https://github.com/nodejs/node/blob/HEAD/lib/internal/crypto/sig.js#L268https://github.com/nodejs/node/blob/HEAD/lib/internal/crypto/sig.js#L268
https://nodejs.org/api/crypto.html#cryptoverifyalgorithm-data-key-signature-callbackhttps://nodejs.org/api/crypto.html#cryptoverifyalgorithm-data-key-signature-callback
https://private-user-images.githubusercontent.com/291301/582446557-67a3a582-c73d-4c16-9ff4-835ede4a0624.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM0NDUxNTEsIm5iZiI6MTc4MzQ0NDg1MSwicGF0aCI6Ii8yOTEzMDEvNTgyNDQ2NTU3LTY3YTNhNTgyLWM3M2QtNGMxNi05ZmY0LTgzNWVkZTRhMDYyNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNzA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDcwN1QxNzIwNTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wNjFkNzI2ZGM4ZGE0MWRhMzkzYTY3MjU2NWU2MGU2YjU5NDUwMjg2NzRmYmQ2YWVjMjQyZTgxZmMwMWY5YmRkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.GBLg0mhNr0V_0m_FV3OWaEebo20IyTocDbJGPmvIbYA
cryptoIssues and PRs related to the crypto subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22crypto%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.