Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 26 Apr 2005 @ 09:47:08 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Masking identification numbers
 
From:   Dieter Noeth

Anomy Anom wrote:

  We have some users on our system who need to know the "type" of credit card and information about transactions by a particular credit card using a "surrogate" card number, without knowing the actual card number.  


  We desire to mask credit card numbers residing in a transaction history table where:  


  (1) new numbers are continually added i.e. the list of numbers is not static;  


  (2) the number is not the primary index of a table;  


  (3) the same ID number needs to translate to the same "surrogate" value every time; and  


  (4) we do not maintain a separate table of unique card numbers.  


  Can anyone offer useful info on what may be the best approach on Teradata?  


How about calculating a hash value?

"select hashrow(creditcardnumber)" or a UDF for V2R5.1, you can download MD5 UDF at www.teradata.com .

But maybe two different numbers result in the same hash value...


Dieter



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023