lib/jwk.js
function bnToBuffer( bn ) {
  var hex = bn.toString( 16 )
  hex = hex.length % 2 === 1 ? '0' + hex : hex
  return Buffer.from( hex, 'hex' )
}
function bnToBuffer( bn ) {
  var hex = bn.toString( 16 )
  hex = hex.length % 2 === 1 ? '0' + hex : hex
  return Buffer.from( hex, 'hex' )
}
function bnToBuffer ( bn ) { var hex = bn . toString ( 16 ) hex = hex . length % 2 === 1 ? '0' + hex : hex return Buffer . from ( hex , 'hex' ) }
Convert a BigNum into a Buffer
@internal
@param  {BigNum} bn
@return {Buffer}
Convert a BigNum into a Buffer