i got No overload matches this call. Overload 1 of 4, '(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike, options?: CipherGCMOptions | undefined): CipherGCM', gave the following error. Argument of type '"aes-128-cbc"' is not assignable to parameter of type 'CipherGCMTypes'. Overload 2 of 4, '(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: TransformOptions | undefined): Cipher', gave the following error. Argument of type 'Buffer' is not assignable to parameter of type 'BinaryLike | null'. Type 'Buffer' is not assignable to type 'Uint8Array | DataView'. Type 'Buffer' is not assignable to type 'Uint8Array'. The types of 'slice(...).buffer' are incompatible between these types. Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'. Type 'SharedArrayBuffer' is missing the following properties from type 'ArrayBuffer': resizable, resize, detached, transfer, transferToFixedLengthts(2769)No overload matches this call. Overload 1 of 4, '(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike, options?: CipherGCMOptions | undefined): CipherGCM', gave the following error. Argument of type '"aes-128-cbc"' is not assignable to parameter of type 'CipherGCMTypes'. Overload 2 of 4, '(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: TransformOptions | undefined): Cipher', gave the following error. Argument of type 'Buffer' is not assignable to parameter of type 'BinaryLike | null'. Type 'Buffer' is not assignable to type 'Uint8Array | DataView'. Type 'Buffer' is not assignable to type 'Uint8Array'. The types of 'slice(...).buffer' are incompatible between these types. Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'. Type 'SharedArrayBuffer' is missing the following properties from type 'ArrayBuffer': resizable, resize, detached, transfer, transferToFixedLengthts(2769)
in
var cipher = crypto.createCipheriv('aes-128-cbc', aesKey, iv);