Confidential

Confidential

Confidential

Constructor

new Confidential()

Source:
makes it possible to generate pass phrases (one per corpus) to encrypt and decrypt confidential data points. The confidential data is stored encrypted, and can only be decrypted if one has the corpus" secret key, or if one is logged into the system with their user name and password. This allows the corpus to be shared with anyone, with out worrying about confidential data or consultant stories being publically accessible. We are using the AES cipher algorithm. The Advanced Encryption Standard (AES) is a U.S. Federal Information Processing Standard (FIPS). It was selected after a 5-year process where 15 competing designs were evaluated. More information on CryptoJS

Extends

  • Object

Members

(static) secretKeyGenerator

Source:
The secretkeygenerator uses a "GUID" like generation to create a string for the secret key.

decrypt

Source:
Decrypt uses this object's secret key to decode its parameter using the AES algorithm.

encrypt

Source:
Encrypt accepts a string (UTF8) and returns a CryptoJS object, in base64 encoding so that it looks like a string, and can be saved as a string in the corpus.