Get your own Node server
// Import the crypto module
const crypto = require('crypto');

// Create a Sign object
const sign = crypto.createSign('RSA-SHA256');

console.log('Sign object created with RSA-SHA256 algorithm');

              
Sign object created with RSA-SHA256 algorithm