def whitelist_redact_hash redact_hash
  	    digest_hash = {}
  	    
  	  	redact_hash.each do |key,how|
  	  	  if (how.to_sym == :digest)
  	  	    digest_hash[digest_key(key)] = :keep
  	  	  end
  	  	end
  	  	
  	  	digest_hash.merge redact_hash
	  end
def whitelist_redact_hash redact_hash
  	    digest_hash = {}
  	    
  	  	redact_hash.each do |key,how|
  	  	  if (how.to_sym == :digest)
  	  	    digest_hash[digest_key(key)] = :keep
  	  	  end
  	  	end
  	  	
  	  	digest_hash.merge redact_hash
	  end
Calculate all keys that should be kept in whitelist mode
 In multiple iterations of redact -> decrypt - digest keys will remain
 and then get deleted in the second iteration, so we have to
 add the digest keys so they're not wiped out on later iteration