How to find length of string after encryption using DBMS_CRYPTO package

Hi,
I am planning do data encryption using DBMS_CRYPTO package. I want to find how much will be string length after encryption.
e.g When I try to encrypt string of length between 1-15 characters it gives me encrypted string of 32 characters. When I try with 16 charcters encrypted string is of 64 characters.
Is ther any formula to calculate length of encrypted string?
Thanks
Pravin

The length change is dependent upon the algorithm you are using which can be a combination of cipher block, padding, and chaining.
The best solution is determine the method you are going to use and apply it to the l ongest possible strings you are going to proces, then add some safety margin. There iis no penalty for defining your column as VARCHAR2(4000).

Similar Messages

  • How to find Length of String

    Hi
    how to find length of a string.. i have a requirement that user cannot add more than 9 digits in a string.. i am new to WD Abap..
    Regards,
    Puneet

    Hi,
    You can use STRLEN command for your requirement.
    First read your input field using code wizard.
    Then using STRLEN command you can find the length of the Input field.
    For Example :
    Here input is your input field.
    data :    length type i.
    length = strlen(input).
    If length < 9.
    raise error msg.
    endif.
    Edited by: Viji on Mar 26, 2008 11:30 AM

  • How to find "menge" in "me21n" after change?

    How to find "menge" in "me21n" after change?
    The user create new order in me21n,
    He insert new quantity ( for example 105 )  ,
    And after it ( he change to ) 106  ,
    i want to see those 106 parts in user exit  MM06E005  (exit 6 , 7 , 8 )
    But i see the old input of 105 parts and not the last input 106  parts ,
    The structures of the exit not supplies this data ,
    so , in which parameter/structure/memory  I can find it  ( in the exits )  ?

    i am talking about creating order  , new one ,
    i insert the data and expect to see the data  ,there is no order number or line and no database record .
    the tables in the exit just keep the change befor
    the last one .
    for example  , i put in the quantity 109 and now 110
    i see the 109  , where i can see the last input ( 110 ) ?
    thanks any way  .

  • How to find the CONNECTION STRING

    how to find the connection string through SQL Statement?
    salahuddin/salahuddin@CONNECTION_STRING
    Below is all about my sql version:
    DEFINE SQLPLUSRELEASE = "800060000" (CHAR)
    DEFINE _EDITOR         = "Notepad" (CHAR)
    DEFINE OVERSION = "Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options" (CHAR)
    DEFINE ORELEASE = "1002000100" (CHAR)

    In windows XP plateform your can find from the ServicesHow can you do that using SQL statement? Plus connect strings are not available in Services. In post 9i SQL*Plus we can do it in SQL statement like this
    SELECT '&&_CONNECT_IDENTIFIER'
    FROM dual;
    Note: This will work only in SQL*Plus.

  • TS1702 how to find the serial number, after purchase Pages online?

    how to find the serial number, after purchase Pages online?

    If you downloaded the standalone trial version of Lightroom, it will be necessary for you to uninstall that version. Then you will be able to install Lightroom through the creative cloud application manager. After you install Lightroom that way, just double-click on the catalog that you have already started.

  • How to find the Invalid Pll after applying a Pacth

    Hi,
    How to find the Invalid Pll after applying a Pacth
    Thanks & Regards
    Sivaraman.G

    You can get the list of PLL files from the patch log file.
    To determine the invalid objects you have in the database, run the following:
    SQL> select owner, object_name, object_type
    from dba_objects
    where status = 'INVALID';To get the list of invalid packages:
    SQL> select owner, object_name, object_type
    from dba_objects
    where status = 'INVALID'
    and object_type like 'PACKAGE%';To compile invalid packages, issue the following:
    SQL> alter package <package name> compile; (to compile package header)
    SQL> alter package <package name> compile body; (to compile package body)

  • How to find where the below sql is used in database

    Hi all,
    I am tring to find the below SQL in our data base where it is used?
    I had done the checking in all reports manually, But have no luck.
    But i am sure that the below sql is in our data base and having some issue on it.
    Can any one please let me know how to find where the below query is used in our database? I mean in packages/ triggers/ procedures or any where in our database
    Please find the query
    select count(sh.shipment_gid) from SHIPMENT sh, SHIPMENT_TYPE stp, LOCATION ld where (sh.shipment_gid in (select sstop.shipment_gid from SHIPMENT_STOP sstop where (sstop.appointment_delivery > trunc(TO_DATE(:1, :2), :3)) and (sstop.appointment_delivery is not null))) and (sh.is_to_be_held=:"SYS_B_0") and (sh.domain_name=:4) and (sh.insurance_policy_number like :"SYS_B_1") and (sh.perspective=:"SYS_B_2") and (sh.shipment_type_gid=stp.shipment_type_gid) and (sh.dest_location_gid=ld.location_gid(+)) and (stp.shipment_type_xid!=:5) order by ld.location_name, sh.start_time
    Regards,
    Dpk

    There is video demonstration how to import from data dictionary.
    After import you can select from the main menu: View->DDL File Editor menu item to open the DDL dialog and then click on "Generate" button on the dialog. When the DDL is generated you can search in it using "Find" button.
    Ivan

  • How to find out that particular structure is used in which tables

    Hello Friends,
    Most of the times through techinal information we come to know the table name for a particular field.And in se16 when i give that table name than system says its structure and not the table.So in se11 when i give that structure name in database table field, its shows all the field in that structure, but not the data stored in that field.
    So my question is how to find out that particular structure is used in which tables,so that i can view data stored in that structure?
    Thanking you guys in advance.
    Regards,
    Jitendra

    Dear,
    When you click on the technical information it will give the structure name and field, double click on the structure and it will take you the display structure screen, there you will have the where-used List icon (Ctrl + Shift + F3) at the top , click on that and it will show the options, select Database tables and execute, it will give the tables related to the structure, you can explore the list of tables and find where your required field is stored in them.
    Thanks & Regards,
    Vijaya Bhaskar A

  • How to find out the Non Partitioned Tables used 2Gb on oracle

    Hi team
    how to find out the Non Partitioned Tables used > 2Gb on oracle where not is sys & system
    regards

    heres 1 I made earlier
    set pagesize 999
    set linesize 132
    col owner format a25
    col segment_name format a60
    select owner,segment_name,segment_type,(bytes/1024/1024)"MB size"
    from dba_segments
    where owner not in ('SYS','SYSTEM','XDB','MDSYS','SYSMAN') -- edit for taste
    and segment_type = 'TABLE'
    having (bytes/1024/1024) > 2000
    group by bytes, segment_Type, segment_name, owner
    order by 4 asc

  • How to find function module's and tables used for the particulat screen or TCODE?

    Hello Nation,
    I would like to know how to find the  function modules and tables used for the particular screen or TCODE or program.
    Example : I would like know the function module used in the program RDBGFT?
                     How can i find that?
    Thanks in advance ,Awaiting your reply.

    Make use of Find function  with the keyword "CALL FUNCTION".
    Make use of the same find function with the keyword "Select" to know the database tables used.
    Regards,
    Philip.

  • How to create dynamic connection string with variables using ssis.

    Hello,
    Can anyone let me know on how to create dynamic connection string with variables using ssis?
    Any help would be appreciated.

    Hi vinay9738,
    According to your description, you want to connect multiple database from multiple servers using dynamic connection.
    If in this case, we can create a Table in our local database (whatever DB we want) and load all the connection strings.  We can use Execute SQL Task to query all the connection strings and store the result-set in a variable of object type in SSIS package.
    Then use ForEach Loop container to shred the content of the object variable and iterate through each of the connection strings. And then Place an Execute SQL task inside ForEach Loop container with the SQL statements we have to run in all the DB instances. 
    For more details, please refer to the following blog:
    http://sql-developers.blogspot.kr/2010/07/dynamic-database-connection-using-ssis.html
    If there are any other questions, please feel free to let me know.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to find who has created the determination records for packaging instruc

    how to find who has created the determination records for packaging instructions in POF1.
    need to find the user details from POF3.
    can any one plz suggets me.

    Sunny,
    Go to POF1 click on determined record -> Display -.> enter-> F8 then -> double click on the record for which you want to see the responsible person ->click on admin. data tab here u will find the responsible person. hope u got the right answer.
    Ravi Thapliyal
    IdhaSoft

  • How could I Encrypt the data of SDO_GEOMETRY type using DBMS_CRYPTO package

    Hi:
    I want to Encrypt the data of SDO_GEOMETRY object type using DBMS_CRYPTO package.
    What could I do? hope anyone can help me,give me a suggestions!
    thanks in advance.
    lgs

    well, the spatial api would not be able to handle this data anymore, so what you are trying to do is converting an SDO_GEOMETRY to some cryptable user type (see http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_crypto.htm#sthref1506) and encrypting this.
    Before using the SDO_GEOMETRY type will have to decrypt and reconvert it again and pass it to the spatial query or function.

  • HT4790 I can not find my hard drive after encryption

    I have a macbook pro I upgraded to Mountian lion from 10.6.8.
    Went through the encryption process. Now my user can not find his hard drive after a re boot
    Steve

    Uninstall the program. It should have come with an uninstaller. If not, contact the developer for instructions.

  • How to find out who released an encrypted email in ironport? C160 Appliance

    Hello,
    We have quite a few users who can release emails. We need to find out who released an encrypted email. When we track the encrypted message through message tracking it shows it was manually released but no credentials are provided. I checked the help command for any useful commands when I ssh'd but nothing seemed useful. Last, findevent, nothing showed who released it.
    Does anyone have any ideas?

    You will need to use 'grep' from the CLI of your appliance(s) in order to view the mail_logs and gui_logs.  Use "released" in the mail_logs to get the timeframe of when the mails in question were released.  (You may need to verifiy the MID for the mails in order to verify the particular ones in question.)  
    Enter the regular expression to grep.
    []> released
    Then use 'grep' again to search the timeframe in gui_logs.  This should display who carried out the action, or what userID they were logged in with --- showing "user:<userID>" in the log line.
    I hope this helps!
    -Robert
    (*If you have received the answer to your original question, and found this helpful/correct - please mark the question as answered, and be sure to leave a rating to reflect!)

Maybe you are looking for

  • Problem with identifying the Train in Dynamic Region

    Hi, I have a two task flows(firstflow,secondflow) and they both have its own individual trains and they are all page fragments. Then I have my main page where in I created a dynamic region based on secondflow. Then in the same page I have dynamic reg

  • HELPPPPP  Please (Motion 4)

    Hi, Hope someone can help! I am trying to learn to edit in motion 4! All the tutorials i have watched are the same and dont explain something. When i type text i want to go in the inspection bar and under the tab text there "should" be 3 tabs, format

  • How to use OCR silently ?

    Hello, I have acrobat standard 9 installed on my computer, and I would like if I can use Acrobat SDK to create a program (in cpp) to call silently the OCR (without any dialog or popup) on my pdf file.

  • Popup window size problem

    Hi, For some reason, the popup window link in my Flash website opens up a popup which doesn't behave to the window size rules I set. The website is www.caveataudiens.net , click on the 'music' button, and then on the Jukebox button to see as example.

  • Photoshop CC: Font size bug

    I have been working on a project today and suddenly I cannot change the font size anymore. If I select the text layer with the move tool and double click the layer in order to edit the text I cannot change the size of the font by pressing the up and