Take a look at the NodeJS documentation for version 12.18.3 for the crypto.createCipheriv() method.
crypto.createCipheriv()
The method takes 3 required params:
al