```js
const crypto = require('crypto');
-const sign = crypto.createSign('rsa-sha256');
+const sign = crypto.createSign('RSA-SHA256');
sign.write('some data to sign');
sign.end();
```js
const crypto = require('crypto');
-const sign = crypto.createSign('rsa-sha256');
+const sign = crypto.createSign('RSA-SHA256');
sign.update('some data to sign');
```js
const crypto = require('crypto');
-const verify = crypto.createVerify('rsa-sha256');
+const verify = crypto.createVerify('RSA-SHA256');
verify.write('some data to sign');
verify.end();
```js
const crypto = require('crypto');
-const verify = crypto.createVerify('rsa-sha256');
+const verify = crypto.createVerify('RSA-SHA256');
verify.update('some data to sign');