mirror of
https://github.com/danbulant/jose
synced 2026-05-19 12:29:04 +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
1 line
49 B
JavaScript
1 line
49 B
JavaScript
module.exports = alg => `sha${alg.substr(2, 3)}`
|