GLOBAL MAP DATA DICTIONARY #394.72 -- VAQ - ENCRYPTION METHOD FILE 3/24/25 PAGE 1 STORED IN ^VAT(394.72, (1 ENTRY) SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 1.5) ----------------------------------------------------------------------------------------------------------------------------------- This file defines each encryption method currently supported by PDX. Methods must use the following parameters: STRING - String to encrypt/decrypt KEY1 - Name of primary encryption/decryption key KEY2 - Name of secondary encryption/decryption key (if required) Methods must return the following: string - Encrypted or decrypted form of STRING NULL - Error Sample methods: $$ECR^VAQZZZ(STRING,KEY1,KEY2) - Encrypts STRING using the encryption keys KEY1 & KEY2 $$DCR^VAQZZZ(STRING,KEY1,KEY2) - Decrypts STRING using the decryption keys KEY1 & KEY2 Sample use: S IFN=internal file number for encryption method S STRING="TEST" S KEY1="ABCD1234" S KEY2="ZYXW0987" X ("S X="_^VAT(394.72,IFN,"ECR")) The variable X is now set to the encrypted format of STRING CROSS REFERENCED BY: Encryption Type(B) ^VAT(394.72,D0,0)= (#.01) Encryption Type [1F] ^ ^VAT(394.72,D0,DCR)= (#20) Decryption Method [E1,240F] ^ ^VAT(394.72,D0,ECR)= (#10) Encryption Method [E1,240F] ^ INPUT TEMPLATE(S): PRINT TEMPLATE(S): SORT TEMPLATE(S): FORM(S)/BLOCK(S):