database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
ㆍOracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Oracle Q&A 34497 게시물 읽기
No. 34497
data encryption 에 대한 질문 드립니다.
작성자
지상훈
작성일
2008-10-06 14:38
조회수
57,892

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

이 글에 대한 댓글이 총 1건 있습니다.


@$ORACLE_HOME/rdbms/admin/dbmsobtk.sql

에 있는 raw 타입과 string 타입에 대해 function 이름이 같은 것으로 존재해서

충돌이 발생해서 ORA-06553: PLS-307: too many declarations of 'DESENCRYPT' match this call오류 메시지가 발생한것 같습니다.

raw 타입은 사용하지 않을것이어서 raw관련 함수/프로시저 부분을 삭제하고,

string관련 함수/프로시저만 두고 실행하니깐 정상적으로 수행이 되었습니다.


지상훈님이 2008-10-07 21:17에 작성한 댓글입니다. Edit
[Top]
No.
제목
작성자
작성일
조회
34501SQL의 Physical I/O 속도 관련 질문
신동민
2008-10-06
2044
34499사용자별 게시판 생성시 [1]
kino
2008-10-06
1951
34498TAB 동의어를 삭제 했는데.. 복구할수 잇을가요? [1]
나옹
2008-10-06
2033
34497data encryption 에 대한 질문 드립니다. [1]
지상훈
2008-10-06
57892
34496테이블 복사. [1]
기준
2008-10-05
2720
34495xe버전 apex 홈페이지가 되다가 안되요..
도와주세요
2008-10-04
2712
34494하드 손상으로 인한 오류 메시지(ORA-01115) [1]
배성준
2008-10-04
4361
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.018초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다