Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Encrypting a number into another number?

Encrypting a number into another number?

From: Pomme-granite <pg_at_pg.co.uk>
Date: Wed, 27 Aug 2003 14:25:04 +0100
Message-ID: <0r4pkv4hm47g1b0eomr8ptkoqraa0sv38q@4ax.com>


I need a simple PL/SQL algorithm for encrypting one integer (up to 6 digits) into another 6 digit integer, so DBMS_OBFUSCATION_TOOLKIT isn't of use. I have already written something which uses simple XORing, Newvalue := InputValue XOR bitmask, but patterns still emerge for consequetive InputValues.

What I need doesn't have to be too secure, but I do need to give a more diverse range in output than simple XORing. Any ideas?

Thanks
Pomme-granite Received on Wed Aug 27 2003 - 08:25:04 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US