DES 암호화/복화화를 위해
암호화는 dbms_obfuscation_toolkit툴킷을 설치를해야한다.
1) SYS 유저로 아래의 스크립트를 실행
@$ORACLE_HOME/rdbms/admin/dbmsobtk.sql
@$ORACLE_HOME/rdbms/admin/prvtobtk.plb
2) 권한을 부여
SQL>GRANT execute ON dbms_obfuscation_toolkit TO public;
을 실행하여 정상적으로 수행되었습니다.
그런데, 사용하려고 하면 아래와 같이 ORA-06553: PLS-307: too many declarations of 'DESENCRYPT' match this call이 발생하고 있습니다.
뭐가 잘못 됐는지...도움 부탁드립니다.감사합니다.
wmgapp1@[wmgapp:/home/wmgapp]sql_plus
SQL*Plus: Release 8.1.7.0.0 - Production on Mon Oct 6 14:00:06 2008
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning and Data Mining options
SQL> select svcmng_num,user_id,dbms_obfuscation_toolkit.DESEncrypt(user_id,'12345678') from mms_user_infos;
select svcmng_num,user_id,dbms_obfuscation_toolkit.DESEncrypt(user_id,'12345678') from mms_user_infos
*
ERROR at line 1:
ORA-06553: PLS-307: too many declarations of 'DESENCRYPT' match this call
|