4. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 7/10/2017 1:01:42 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

4.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\IV-ehmp_cif\AwivClientWebApp\main\test\java\gov\va\med\imaging\awiv\encryption AwivRijndaelTest.java Thu Jun 29 17:23:05 2017 UTC
2 C:\AraxisMergeCompare\Pri_re\IV-ehmp_cif\AwivClientWebApp\main\test\java\gov\va\med\imaging\awiv\encryption AwivRijndaelTest.java Fri Jul 7 16:34:40 2017 UTC

4.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 4 124
Changed 3 6
Inserted 0 0
Removed 0 0

4.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

4.4 Active regular expressions

No regular expressions were active.

4.5 Comparison detail

  1   /**
  2    * 
  3     Package:  MAG - Vis tA Imaging
  4     WARNING:  Per VHA D irective 2 004-038, t his routin e should n ot be modi fied.
  5     Date Cre ated: Feb  8, 2012
  6     Site Nam e:  Washin gton OI Fi eld Office , Silver S pring, MD
  7       Developer:          
R
E DACTED
  8     Descript ion: 
  9  
  10           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  11           ;;  Property  of the US  Government .
  12           ;;  No permis sion to co py or redi stribute t his softwa re is give n.
  13           ;;  Use of un released v ersions of  this soft ware requi res the us er
  14           ;;   to execu te a writt en test ag reement wi th the Vis tA Imaging
  15           ;;   Developm ent Office  of the De partment o f Veterans  Affairs,
  16           ;;   telephon e (301) 73 4-0100.
  17           ;;
  18           ;;  The Food  and Drug A dministrat ion classi fies this  software a s
  19           ;;  a Class I I medical  device.  A s such, it  may not b e changed
  20           ;;  in any wa y.  Modifi cations to  this soft ware may r esult in a n
  21           ;;  adulterat ed medical  device un der 21CFR8 20, the us e of which
  22           ;;  is consid ered to be  a violati on of US F ederal Sta tutes.
  23           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  24  
  25    */
  26   package go v.va.med.i maging.awi v.encrypti on;
  27  
  28   import gov .va.med.im aging.encr yption.Aes Encryption ;
  29  
  30   import org .junit.Tes t;
  31  
  32   import sta tic org.ju nit.Assert .*;
  33  
  34   /**
  35    * @author         
R
E DACTED
  36    *
  37    */
  38   public cla ss AwivRij ndaelTest
  39   {
  40           
  41           @T est
  42           pu blic void  rijndaelTe st()
  43           {
  44                    try
  45                    {
  46                              testEncryp tion("&A{C LZWKHAA ,  ALUUN A}&B {101364841 }&C{100201 6321V08036 3}&D{RPT^C PRS;TEST.S T-LOUIS URL          ^2705^TIU^ 1822447^^^ ^^^^^0}&E{ 992}&F{MON SON , STEV E }&G{1366 72}&H{2233 34667}&I{C LE13}&J{98 2}&K{VISTA  IMAGING V IX^90e2cca 6-8de1-479 e-ba7c-a52 ea5b9028d} &L{http:// vhaiswimmi xvi1/Vista WebSvcs/Im agingExcha ngeSiteSer vice.asmx} &M{2001}&O {VW}");
  47                             testEn cryption(" asdfasdfas dfasfdasfs adfasdfasd fasdfasdlf uhasolfhas uifhao8vhf we398p4htp 23084n9e8n w8p9evn8fs dv");
  48                             
  49                             
  50                    }
  51                    catc h(Exceptio n ex)
  52                    {
  53                             fail(e x.getMessa ge());
  54                    }                 
  55           }
  56           
  57           pr ivate void  testEncry ption(Stri ng clearTe xt)
  58           th rows Excep tion
  59           {
  60                    Stri ng encrypt ed = AesEn cryption.e ncrypt(cle arText);
  61                    Stri ng decrypt ed = AesEn cryption.d ecodeByteA rray(encry pted);
  62                    asse rtEquals(c learText,  decrypted) ;
  63           }
  64  
  65   }