mirror of
https://github.com/hanzoai/jose.git
synced 2026-09-24 17:00:01 +00:00
This is as per - https://tools.ietf.org/html/draft-ietf-cose-webauthn-algorithms-01 - https://mailarchive.ietf.org/arch/msg/cose/91MouVA43DefbpQOB7l5daCEeIc
2 lines
49 B
JavaScript
2 lines
49 B
JavaScript
module.exports = alg => `sha${alg.substr(2, 3)}`
|