code: function cipher(string) {
  
          if(string) {
  
              if ( typeof pw !== 'string' || pw.length < 8 ) {
                  throw new Error('Please set a password with 8 or ' +
                      'more chars on process.env.CIPHER_UTIL_PW!');
              }
  
              if ( typeof algo !== 'string' || algo.length < 1 ) {
                  throw new Error('Please choose an algorithm' +
                      ' on process.env.CIPHER_UTIL_ALGO!');
              }
  
              var iv = crypto.randomBytes(ivBlock),
  
              ciphered = crypto.createCipheriv(algo, pw, iv),
  
              encrypted = [ciphered.update(string)];
  
              encrypted.push(ciphered.final());
  
              return Buffer.concat([iv, Buffer.concat(encrypted)]).toString(enc);
  
          }
  
          return null;
  
      }
docs: Crypt string with defined password, algorithm and IV (init vector (salt)).
  
  @param string {String} String to encrypt.
  @return {String | Null} Encrypted string.