Methods of Oracle stored procedure encryption _oracle
Source: Internet
Author: User
Configuration environment:
1. Database: Oracle 8i R2 (8.1.7) for NT Enterprise Edition
2, Installation path: c:oracle
Implementation method:
1.d:>set Nls_lang=american_america. USACII7
Or
D:>set Nls_lang=american_america. We8iso8859p1
D:>set
Direct SET command to view environment variables
2. Under D: Create the A.sql file, which reads as follows:
Java code
Create or Replace procedure test1 (i in number) as
Begin
Dbms_output.put_line (' input parameter is ' | | To_char (i));
End
Create or Replace procedure test1 (i in number) as
Begin
Dbms_output.put_line (' input parameter is ' | | To_char (i));
End
3.d:>wrap Iname=a.sql
Pl/sql wrapper:release 8.1.7.0.0-production on Tue Nov 27 22:26:48 2001
Copyright (c) Oracle Corporation 1993, 2000. All Rights Reserved.
Processing A.sql to A.PLB
4. Open A.PLB, now its contents are as follows:
Java code
Create or replace procedure test1 wrapped
0
Abcd
Abcd
Abcd
Abcd
Abcd
Abcd
Abcd
Abcd
Abcd
Abcd
Abcd
Abcd
Abcd
Abcd
Abcd
3
7
8106000
1
4
0
8
2:e:
1test1:
1I:
1NUMBER:
1dbms_output:
1put_line:
1 Input parameters are:
1| |:
1to_char:
0
0
0
1f
2
0 1d 9a 8f a0 B0 3d B4
6a:2 A0 6b 6e 7e:2 A0 A5
b B4 2e a5 b7 a4 B1
4f B5
1f
2
0 3 4 1d 19 18 25 15
2a 2e 3a 3d 42 45
4d 4e 5c
5e, 7f
1f
2
0 1 B 11 16:2 11 10:3 1
: 2 D 2c:2 24:2 16:a 1
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.