docs: function padSecret(secretBuffer, size, encoding) {
    const secret = secretBuffer.toString(encoding);
    const len = secret.length;
  
    if (size && len < size) {
      const newSecret = new Array(size - len + 1).join(
        secretBuffer.toString('hex')
      );
      return Buffer.from(newSecret, 'hex').slice(0, size);
    }
  
    return secretBuffer;
  }