If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > ORA-06512: at "SYSTEM.DBMS_OBFUSCATION_TOOLKIT_FFI", line 0

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-27-03, 00:06
mohan mohan is offline
Registered User
 
Join Date: Oct 2002
Posts: 78
ORA-06512: at "SYSTEM.DBMS_OBFUSCATION_TOOLKIT_FFI", line 0

Hai
I made a form to encrypt and decrypt text string (more than 4000 Chr long).I had create function when executing the function getting the below error message.Any one any idea about this it should be greatful

Thanks in advance
mohan


create or replace function crypt( p_str in varchar2 )
return varchar2
as
l_data varchar2(255);
begin
l_data := rpad( p_str, (trunc(length(p_str)/8)+1)*8, chr(0) );
dbms_obfuscation_toolkit.DESEncrypt
( input_string => l_data,
key_string => 'MagicKey',
encrypted_string=> l_data );
return UTL_RAW.CAST_TO_RAW( l_data );
end;

Function created

SQL> select crypt( '012345678 ') from dual;
select crypt( '012345678 ') from dual
*
ERROR at line 1:
ORA-06521: PL/SQL: Error mapping function
ORA-06512: at "SYSTEM.DBMS_OBFUSCATION_TOOLKIT_FFI", line 0
ORA-06512: at "SYSTEM.DBMS_OBFUSCATION_TOOLKIT", line 24
ORA-06512: at "SYSTEM.CRYPT", line 7
ORA-06512: at line 1
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On