PL/SQL :: AES128 Encryption Compatible With Oracle  And C#

Jun 20, 2013

I am trying to have an encryption logic written in Pl/SQL that could decrypt the value which is encrypted in Dot Net, using AES128 algorithm. Everytime when i try to have the decryption done, i lands up in one or the other error message. Below is the code snippet which i use. create or replace

FUNCTION decryptAES (EncryptedText IN VARCHAR2,EncKey IN VARCHAR2) RETURN VARCHAR2 DETERMINISTIC  IS   key_bytes_raw  RAW (2048);  l_ decrypted_raw   RAW (2048);  encryption_type    PLS_INTEGER := DBMS_CRYPTO.ENCRYPT_AES128; BEGIN  key_bytes_ raw:= UTL_RAW. CAST_TO_ RAW (EncKey);  l_decrypted_raw := dbms_crypto.decrypt  (src =>utl_raw.cast_to_raw(EncryptedText),  typ => encryption_type,   key => key_bytes_raw  );          RETURN (UTL_RAW.CAST_TO_VARCHAR2 (l_decrypted_raw));   END decryptAES.

View 3 Replies


ADVERTISEMENT

Query Without Login To Oracle database From Linux OS?

Aug 21, 2013

can we query this without login to the oracle  database from linux os?database is up and running . /apps/oracle/product/11.2.0/dbhome/bin/sqlplus system/passwd select name from v$database;

View 5 Replies View Related

Heterogeneous Connectivity :: Query In SQL Server from Oracle  9.2

Oct 24, 2012

How can I to connect and execute query from Oracle without to use others products ( DG4MSQL ....etc) ?using 9.2.08

View 5 Replies View Related

Forms :: 6i Compatible With Win XP

Oct 28, 2011

Actually I have installed win95 compatible version of forms 6i on XP. It was successfully installed on XP

But when I am trying to connect database it throwing error ORA-12203:Unable to connect destination.

was this is issue because of the compatible installation?

View 4 Replies View Related

Column Encryption Not Happening?

Aug 13, 2010

I encrypted the column but when i check through strings command the data is still not encrypted,i created the wallet etc etc,set proper path in sqlnet.ora

View 3 Replies View Related

Database Encryption By Default

Aug 10, 2010

I would like to know the reason why the database is on unencrypted format by default,there must be some reason behind this, i hear from someone that encrypted data degrade performance thats the reasons its on unencrypted format by default.

View 6 Replies View Related

Oracle 10g Setting Up Encryption

Sep 24, 2010

I am trying to setup encryption and have the following entry in my sqlnet.ora file (all on one line).

ENCRYPTION_WALLET_LOCATION=(SOURCE=(METHOD=FILE)(METHOD_DATA=(DIRECTORY=/oracle/10.2.0.1.0/network/admin/encryption_wallet/)))

When I login into my DB I get the following error:

sqlplus ' / as sysdba '

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 24 16:30:49 2010

Copyright © 1982, 2005, Oracle. All rights reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options

SQL> ALTER SYSTEM SET ENCRYPTION KEY AUTHENTICATED BY "XXX";
ALTER SYSTEM SET ENCRYPTION KEY AUTHENTICATED BY "XXX"
*
ERROR at line 1:
ORA-28368: cannot auto-create wallet

As you can see the directory is not created.

ls -ld /oracle/10.2.0.1.0/network/admin/encryption_wallet
ls: 0653-341 The file /oracle/10.2.0.1.0/network/admin/encryption_wallet does not exist.

The directory above where I want to create my wallet is owned by oracle, which is the user I am running sqlplus as (see below)

ls -ld /oracle/10.2.0.1.0/network/admin
drwxrwsr-x 4 oracle dba 512 Sep 24 15:45 /oracle/10.2.0.1.0/network/admin

/tmp who am i
oracle pts/1 Sep 24 13:25 (is122.hshhp.com)

View 2 Replies View Related

Windows :: Oracle 10.1.0.2.0 Is Compatible With 2008 R2 X64?

Jul 26, 2010

I'd like to know if Oracle 10.1.0.2.0 is compatible with Windows 2008 R2 x64. Is there any patch to download from the Metalink of Oracle?

View 8 Replies View Related

Upgrade :: Database From 9.2.0.7 To 10.2.0.2 And Leaving COMPATIBLE To 9.2.0?

Jan 11, 2013

I want to upgrade our database version (9.2.0.7) to 10g (10.2.0.2)

I know if I set COMPATIBLE parameter to 10.2.0.2 at first then I can't downgrade to 9.2.0.7 if any problem occurs I am not sure that our application can deal with 10g or not so I think it's better to leave the COMPATIBLE parameter to 9.2.0 several days for sure and if all things go well then change COMPATIBLE to 10.2.0.2 (I need to say that I can’t test our application in a test environment )

Now do you think leaving COMPATIBLE to 9.2.0 (after upgrade) for many days can cause any problem to Database ?

View 3 Replies View Related

Application Express :: 4.0.2.00.09 And Jrxml2pdf-1.2.0.2 Not Compatible

Feb 23, 2013

I am using apex 4.0.2.00.09 and when I Tried to import jrxml2pdf-1.2.0.2.releas from the application it gave me 1 error has occurredNOT COMPATIBLE (Your export may contain calls not supported by your application version.)

which jrxml2pdf version I should use?

View 1 Replies View Related

Installation :: Oracle 11g Is Compatible For Windows 8

Mar 13, 2013

did oracle 11g is compatible for windows 8. did oracle release any certification for that.

View 5 Replies View Related

Security :: Oracle Password Encryption

Oct 10, 2011

While searching for password encryption I came across these statements.

1.Password Encryption While Connecting. This protection is always in force, by default. Passwords are always automatically and transparently encrypted during network (client/server and server/server) connections, using a modified DES (Data Encryption Standard) or 3DES algorithm, before sending them across the network.

Confirm whether by default oracle encrypts the password before sending it to the database across the network even when the clear text password is used for connecting from a jdbc client.

View 1 Replies View Related

Server Administration :: Set-up Network Encryption

Sep 9, 2010

I am trying to set-up network encryption.I have added following parameters to my server side sqlnet.ora file:

SQLNET.ENCRYPTION_SERVER = REQUIRED
SQLNET.ENCRYPTION_CLIENT = REQUIRED
SQLNET.ENCRYPTION_TYPES_SERVER =RC4_256
SQLNET.ENCRYPTION_TYPES_CLIENT =RC4_256
SQLNET.CRYPTO_CHECKSUM_SERVER = REQUIRED
SQLNET.CRYPTO_CHECKSUM_CLIENT = REQUIRED
SQLNET.CRYPTO_CHECKSUM_TYPES_SERVER = (MD5)
SQLNET.CRYPTO_CHECKSUM_TYPES_CLIENT = (MD5)

As per my understanding connections should start to fail from client side after addition of these parameter on server side sqlnet.ora (no changes to client side sqlnet.ora).I am still able to connect to this server without connections getting failed.

I already checked aso is installed on this database.Just to add it is a RAC database with 2 nodes.

View 4 Replies View Related

Security :: Oracle Encryption Data?

Apr 6, 2013

Can i get some documents on oracle RAC database encryption.?what are the pros and cons of encryption?Does this comes with oracle Database or something we need to buy from oracle sales persons?

View 2 Replies View Related

Windows :: Oracle Database Compatible Version With Win 7

May 10, 2012

I have Windows 7 (System Type - 64-bit OPerating System & ACPI X64 PC Type) and want to install Oracle Database.

The compatible version with the above operating system and send me the direct link for downloading.

View 17 Replies View Related

Application Express :: Oracle 4.0 And IPv6 Compatible

Jan 7, 2013

We had a query whether, oracle apex 4.0 and above is IPv6 compatible or compliant ? We use Oracle apache HTTP Server as the application server and oracle 11G database.

View 3 Replies View Related

OEM / Unknown Encryption / Data Integrity Algorithm?

Jul 2, 2010

We are attempting to configure/use OEM (Oracle 10.2.0.4) on Solaris, and when logging in to OEM we are directed to the Database Down page, stating Enterprise Manager is unable to connect to the database instance, but showing all the components as up/open. After checking the log, I found the following error:

IO exception: Unknown Encryption or Data Integrity algorithm

I checked the settings in emoms.properties and compared the encryption parameters to those in our SQLNet file, and all match up. We are NOT using Grid Control, just db control connecting to 1 instance.

View 9 Replies View Related

Encryption - Typed Master Key Not Found In Wallet

Sep 29, 2010

what steps I am missing or provide a work-around?

1) cat sqlnet.ora
NAMES.DIRECTORY_PATH=(TNSNAMES)
WALLET_LOCATION =
(SOURCE =

[code]...

2) mkdir /u01/app/oracle/secure

ls -ld /u01/app/oracle/secure
drwxr-sr-x 2 oracle dba 512 Sep 28 17:04 /u01/app/oracle/secure
lsnrctl stop
lsnrctl start

3) sqlplus 'sys/sys as sysdba'

SQL*Plus: Release 11.2.0.1.0 Production on Tue Sep 28 17:07:53 2010
SQL> ALTER SYSTEM SET ENCRYPTION KEY IDENTIFIED BY "DeciPher";
ALTER SYSTEM SET ENCRYPTION KEY IDENTIFIED BY "DeciPher"
*
ERROR at line 1:
ORA-28374: typed master key not found in wallet

View 8 Replies View Related

Security :: Tablespace Encryption - Data Migration?

Oct 22, 2010

Is it possible to migrate everything (tables, indexes) from a unencrypted to encrypted tablespaces online i.e. while the database is being used (DML)?

View 3 Replies View Related

Security :: Encryption Method (password Starts With 06)?

Aug 29, 2013

Our Audit Company has given us a recommendation:"Old DB Link encrypted Passwords: The password of the Oracle databases links are encrypted using DES (password starts with 05). This encryption methord is known and users can decrypt the passwords using a simple SQL query. Please recreate the database links to use the new encryption method (password starts with 06)."What does it mean and how can we perform this recommendation?

View 2 Replies View Related

Security :: Encryption Table Column Data

Jul 19, 2012

I created a test table with 4 columns(id, first_name,last_name, salary-number ) and then alter table to encrypted salary column . everything is OK.

I insert values into test table. However, I still can see salary value by select SQL.

What is wrong?

my db is oracle 11.2.01 in 2008 SP window

newdba

View 7 Replies View Related

Security :: Spanish Character Encryption In UTF8

Jan 9, 2012

Recently the Oracle10g database has been migrated to UTF8 character set and the following have failed.

1. The password applied is not getting encrypted and the password contains a spanish characters.

Getting the below error.

"10057:ERROR WHILE ENCRYPTING GIVEN STRING:String:Uñomasuño5.::ORA-28232: invalid input length for obfuscation toolkit:-28232:ORA-28232: invalid input length for obfuscation toolkit"

The algorithm used for encryption DES. I tried with DESENCRYPT , DES3ENCRPYT and MD5 and it failing.

View 5 Replies View Related

Forms :: How To Set Window Size Which Should Be Compatible For Any Screen Resolution

Mar 30, 2011

Actually i am migrating forms from 6i to 10g Here i need to set the window which should be fit in the browser(internet explorer) resolution and it should be compatible for any resolution?

i have tried by changing width and height in formsweb.cfg file but it is not compatible for different resolutions...

View 1 Replies View Related

ODP.NET :: Wallet (file Method) Compatible With Managed Driver 12.1.0.1.0?

Oct 8, 2013

I am trying to use oracle wallet with the new odp.net managed driver, but I am getting

"invalid username/password".

As the wallet itself is ok (it works with the unmanaged client), seems to me that this new provider is not fully compatible with Oracle Wallet. Is this true? I am trying this: 

<oracle.manageddataaccess.client>    <version number="*">  <settings> <setting name="tns_admin" value="D:oracleproduct11.2.0client_1
etworkadmin" />        <setting name="WALLET_LOCATION" value="D:oraclewallets" />      </settings>    </version>  </oracle.manageddataaccess.client> 

View 9 Replies View Related

11gRel2 DBCA - Using Compatible Parameter 10.2.0.3.0 Results In ORA-00201

Aug 16, 2012

Following is the scenario:

1. Oracle DB Binaries: 11.2.0.2.2
2. Using dbca to create General Purpose Database and then modify initialization parameter "COMPATIBLE from 11.2.0.0.0 to 10.2.0.3.0" in the "All Initialization Parameters" window.

So, when I finally start installing database, I get following error during the install:

ORA-00201: control file version 11.2.0.0.0 incompatible with ORACLE version 10.2.0.3.0
ORA-00202: control file: '/u01/app/oracle/cfgtoollogs/dbca/infpp1/tempControl.clt'

IGNORE OR ABORT...

Now you might ask why i am doing this. Actually I want to install fresh 11grel2. database with lower compatible parameter. IMPORT DP custom schemas into this database making sure compatible is set to 10.2.0.3.0. Then run database with such settings for a week and finally change compatible parameter to 11.2.0.0.0

Any thoughts where i am going wrong? as the default template seems not accepting what i am interested to do.

View 7 Replies View Related

Security :: Data Encryption From Transaction To Backup Level?

Apr 26, 2013

Our client is having requirements that data should be encrypted through-out the process (from transaction level to backup level).

Requirements are as below -

1) Data should be encrypted and can be access only through application (through front end).
2) Even if pl/sql, sql installed, developer user cannot able to fetch data from database.
3) Even DBA, should not have access to fetch the data from the database.
4) Only assigned DBA, should fetch details from database (provided he/she should have details of database as well as application's user / password).
5) It should be restricted by ip and user details (such as ip of application server with user/password of user).
6) Changes should be purely done from database level only.

View 5 Replies View Related

Security :: Encode Values In A Column Using SHA-2 (256bit Encryption)?

Jan 10, 2011

I would like to encode values in a column using SHA-2 (256 bit encryption). Does 10g support SHA-2 and if so how can i implement this?

View 2 Replies View Related

Wallet - While Creating A Table Says Master Encryption Key Is Not Present?

Jan 22, 2013

I have created a wallet (11g R2 OEL 5.5) using the OWM.Tried opening the wallet (encryption_wallet_location set in sqlnet.ora). then while creating a table it said the master encryption key is not present. Have created the master key using the following command.

alter system set encryption key identified by "Password";

Here the strange thing i observed is that when we create a wallet using the OWM, it asks for the password and when i open the same wallet the master key is not created and it allows the master key to be generated with the same password that i have created the wallet in the first place with the OWM, with any other passwords it says that the wallet is not open.

After creating the wallet and creating the master key... I have the following questions, and its becoming quite hard to find the solutions as well.

1. Can we have multiple encryption keys... say i want to encrypt a table or column with one key and other with an another key.
2. How many keys can we have for objects in the table? or can we have only one key and many certificates.
3. wallet created, and encrypted tables present, the wallet is not in auto open mode, but somehow the database open after it is shutdown, here no encrypted tablespaces are present.
4. while creating an encrypted tablespace the default storage (encrypt ) has to be added to the add tablespace clause.

View 2 Replies View Related

Security :: Restricting DBA Access To All Data Of The Tables (Encryption / Others)

Nov 4, 2012

We have got a new requirement wherein, The customer wanted the DBA Vendor (US) NOT to access the confidential information (ALL Columns) in the DB tables of PRODUCTION database. This is for few applications to comply with with export control rules. The thin support by Customer DBA will be allowed to access the Data, if required .

1) Web Based Interface ?.
2) DB Encryption (But if we encrypt ALL columns Serious performance issue expected, File level will not restrict DB level access)
3) Special setting on DB (DBA to do only backup and restoration related work only - But cannot access data)
4) Standard Tools / Utilities / Others ??.

Technologies are Oracle ,SQL

View 3 Replies View Related

Server Administration :: Differences In Versions According To Init-parameter Compatible

Dec 15, 2010

How oracle deals with the setting of init.ora parameter compatible.

e.g. we have
DB Version=10.2.0.4
compatible=10.2.0

what is the possible leak for us ? Is there any description about the features changed in 10.2 up to 10.2.0.4 in all steps - so that we can check out which functions we do not have.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved