jose/lib/help/node_alg.js
2019-05-25 22:34:28 +02:00

1 line
47 B
JavaScript

module.exports = alg => `sha${alg.substr(-3)}`