import * as crypto from 'crypto';
import * as buffer from 'buffer';
let key = buffer.from("************");
let nonce = buffer.from("***********");
let cipherText = buffer.from('iSzDBqz**********Bw==', buffer.Encoding.Base64);
let decipher = crypto.createDecipher(crypto.Algorithm.AES_GCM, key, { nonce: nonce });
let plainText = decipher.decrypt(cipherText);
console.log(plainText.toString()); //huawei
Creating a Decryption Object