Skip to main content

Working with a Data Matrix in Cpp

TEAgentMatrix represents a 2-D data matrix. The indices of the matrix start at 1. Data contained in the matrix can be encrypted, decrypted or hashed.

The following sequence describes how to encrypt and decrypt customer data with the TEAgentMatrix class.

  1. Create a TEAgentMatrix object
  2. Set the data to be encrypted or decrypted into the matrix, and then set Hidden Links if necessary
  3. Attach a connection
  4. Encrypt or decrypt the data
  5. Detach the connection
  6. Get the encrypted or decrypted data, and get T-tags if necessary

The following sequence describes how to hash customer data with TEAgentMatrix. Notice that hashing data does not require a connection to a key service.

  1. Create a TEAgentMatrix object
  2. Set data into the matrix
  3. Decide which column(s) to hash and set the salt(s)
  4. Get the hashed values
  5. Get which column(s) to hash, and if necessary get the salt(s)