Gcm block cipher the advanced encryption singapore mobile number list standard , or aes, data protection technique uses algorithms to perform encryption. Aes supports many modes of operation . In this solution, you will use gcm (galois/counter mode) . symmetric cryptography is preferred for its speed and strength. Code create a new function named aes with the following code: javascript copy the code const crypto = require("crypto") const algorithm = { block_cipher: "aes-256-gcm", auth_tag_byte_size: 16, iv_byte_size: 12, } exports.

Create an encrypted-gather function next, create the function that will perform the sensitive operations. You will configure it as a voice webhook of the incoming phone number in a later step. This function allows the digits entered by the caller to be encrypted upon receipt and sent in this state to the final "destination" function. Code create a new function named encrypted-gather with the following code: javascript copy the code const axios = require('axios') const aes = require(runtime.