title: Oracle , Encryption or obfuscation function with output size limit
body: <p>Is there any encryption or obfuscation Oracle Function (standard or third party) that can limit the output size?</p>
  <p>I need to obfuscate a column smaller than 20 char by limiting the output to 20 char .</p>
  <p>I'm using the following function that generates an output of 32 Characters , the constraint comes from a System external to mine , I couldn't negotiate a larger size of the output (their input).</p>
  <pre><code>create or replace function md5 (valor varchar) return varchar2 is   
  v_input varchar2(2000) := valor;   
  hexkey varchar2(32) := null;   
  begin   
  hexkey := rawtohex(dbms_obfuscation_toolkit.md5(input =&gt; utl_raw.cast_to_raw(v_input)));  
  return nvl(hexkey,'');   
  end;
  </code></pre>
  <p>I need something like obfuscate a USA Social Service in a 20 char length output.</p>
  <p>I need also some security because us applied to private medical information.</p>