Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Generate RANDOM number

RE: Generate RANDOM number

From: Muqthar Ahmed <Muqthar.Ahmed_at_decoratetoday.com>
Date: Wed, 5 Jan 2005 09:33:58 -0500
Message-ID: <6362087FB073D41195B800D0B78284BE098141F3@mail01.corp.abwf.com>


Hi,

Ignore my previous e-mail.

In 10g, it is called DBMS_CRYPTO, where as in Oracle9i, it is DBMS_OBFUSCATION_TOOLKIT. I was looking for the following information:

>From Oracle10g Manuals:

About Generating and Storing Encryption Keys The DBMS_CRYPTO package can generate random material for encryption keys, but it does not provide a mechanism for maintaining them. Application developers must take care to ensure that the encryption keys used with this package are securely generated and stored. Also note that the encryption and decryption operations performed by DBMS_CRYPTO occur on the server, not on the client. Consequently, if the key is sent over the connection between the client and the server, the connection must be protected by using network encryption. Otherwise, the key is vulnerable to capture over the wire.

Although DBMS_CRYPTO cannot generate keys on its own, it does provide tools you can use to aid in key generation. For example, you can use the RANDOMBYTES function to generate random material for keys. (Calls to the RANDOMBYTES function behave like calls to the DESGETKEY and DES3GETKEY functions of the DBMS_OBFUSCATION_TOOLKIT package.)

Thanks for your response.
Muqthar
Oracle9i Certified DBA

-----Original Message-----
From: Ruth Gramolini [mailto:rgramolini_at_tax.state.vt.us] Sent: Wednesday, January 05, 2005 9:04 AM To: jkstill_at_gmail.com; mwf_at_rsiz.com
Cc: ineyman_at_perceptron.com; Muqthar.Ahmed_at_decoratetoday.com; oracle-l_at_freelists.org Subject: RE: Generate RANDOM number

Even if it doesn't fit his needs, it is imensely cool. RBG

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Jared Still Sent: Tuesday, January 04, 2005 5:21 PM
To: mwf_at_rsiz.com
Cc: ineyman_at_perceptron.com; Muqthar.Ahmed_at_decoratetoday.com; oracle-l_at_freelists.org
Subject: Re: Generate RANDOM number

On Tue, 4 Jan 2005 17:12:37 -0500, Mark W. Farnham <mwf_at_rsiz.com> wrote:
> You asked what is wrong with his select.
>
> Probably he is seeking information regarding the quality of the pseudo
> random sequence that is generated.

Might this work?

http://www.sciencenews.org/articles/20010512/mathtrek.asp

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
--
http://www.freelists.org/webpage/oracle-l

* * * * * * * * *

The information contained in this E-mail message is privileged, confidential, and may be protected from disclosure; please be aware that any other use, printing, copying, disclosure or dissemination 
of this communication may be subject to legal restriction or sanction. If you think that you have received this E-mail message in error, please reply to the sender and delete it from your computer. T
hank you.
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jan 05 2005 - 08:29:54 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US