Encrypt and decrypt the algorithm for visual basic 6

I would like to know a code complex algorithm in Visual Basic 6 to encrypt and decrypt ini files to encrypt credentials

Kindly help.

Hello

I suggest you to ask your question in the below link:

http://social.msdn.Microsoft.com/forums/en-us/category/VisualStudio, vslanguages, vstfs, netdevelopment, vsarch

Tags: Windows

Similar Questions

  • Encrypt and decrypt using the key of the table

    Dear Experts,

    Here is my package to encrypt and decrypt with triples in oracle 11 g.

    In my package, I used encryption_key (3FECCDC7D348A85B096F0B43C4C6A38DBBD369DB37FEA435) according to this key we are encryption and decryption.

    My requirement is now, I don't want to spend the encryption_key in my code.we key stored in a table (key_details) and using the key column, we her encrypt and decrypt the data.

    -----------------------------------

    create the table key_details

    (

    Identification number,

    VARCHAR2 (48) key

    );

    insert into key_details values(1,'3FECCDC7D348A85B096F0B43C4C6A38DBBD369DB37FEA435');

    -------------------------------------

    CREATE or REPLACE PACKAGE encr_decr

    AS

    FUNCTION encrypt (p_plainText VARCHAR2) RETURN RAW DETERMINISTIC;

    FUNCTION decrypt (p_encryptedText RAW) RETURN VARCHAR2 DETERMINISTIC;

    END;

    /

    CREATE or REPLACE PACKAGE encr_decr BODY

    AS

    encryption_type PLS_INTEGER: = DBMS_CRYPTO. ENCRYPT_3DES

    + DBMS_CRYPTO. CHAIN_ECB

    + DBMS_CRYPTO. PAD_PKCS5;

    encryption_key RAW (48): = UTL_RAW.cast_to_raw ('3FECCDC7D348A85B096F0B43C4C6A38DBBD369DB37FEA435');

    FUNCTION encrypt (p_plainText VARCHAR2) RETURN RAW DETERMINISTIC

    IS

    encrypted_raw RAW (2000);

    BEGIN

    encrypted_raw: = DBMS_CRYPTO. ENCRYPT

    (

    SRC = > UTL_RAW. CAST_TO_RAW (p_plainText),

    Typ = > encryption_type,.

    key = > encryption_key

    );

    RETURN encrypted_raw;

    END encrypt;

    FUNCTION decrypt (p_encryptedText RAW) RETURN VARCHAR2 DETERMINISTIC

    IS

    decrypted_raw RAW (2000);

    BEGIN

    decrypted_raw: = DBMS_CRYPTO. DECRYPT

    (

    SRC = > p_encryptedText,

    Typ = > encryption_type,.

    key = > encryption_key

    );

    RETURN (UTL_RAW. CAST_TO_VARCHAR2 (decrypted_raw));

    END decrypt;

    END;

    /

    Help, please.

    create or replace package body encr_decr

    as

    encryption_type pls_integer: = dbms_crypto.encrypt_3des

    + dbms_crypto.chain_ecb

    + dbms_crypto.pad_pkcs5;

    gross encryption_key (48);

    --

    function encrypt (p_plaintext varchar2)

    gross return deterministic

    is

    Start

    Return dbms_crypto.encrypt (CBC-online utl_i18n.string_to_raw (p_plaintext)

    typ-online encryption_type

    key-online encryption_key

    );

    end encrypt;

    --

    function decrypt (gross p_encryptedtext) return varchar2 deterministic

    is

    Start

    Return utl_i18n.raw_to_char (dbms_crypto.decrypt (src-online p_encryptedtext

    typ-online encryption_type

    key-online encryption_key

    )

    );

    put an end to decrypt;

    Start

    Select the key in encryption_key

    of key_details

    where id = 1;

    end;

    /

  • Use to encrypt and decrypt in Scenerio

    Hello
    I'm new to ODI Env.I just need to clarify a thing of ODI Scenerio is that what is the use of Encrypt and decrypt when we right click on the generated Scenrio recently? If I encrypt also I can able to run and remove the scenario and what ever.please suggest me and so I have can use this concept in my Production.

    Hello

    Encrypt a script/procedure/KM helps protect the valuable code.

    An encrypted script or KM or a procedure cannot be read or modified if it is not decrypted. Orders generated in the newspaper by a scenario Encrypted KM or procedure are unreadable.

    Oracle Data Integrator uses a personal encryption key-based encryption algorithm. This key can be saved in a file and reused to perform encryption or decryption operations.

    P.S:there is impossible to decipher a procedure without the encryption key or encrypted KM. Therefore, it is strongly recommended to keep this key in a safe place. It is also advisable to use a unique key for all developments.

    Thank you
    Guru

  • 15 - r036tu: pci encryption and decryption hp 15-r038tu

    Dear Sir
    I parchase a new laptop model number is 15-r036tu I got this laptop with window 8.1 after using a few months I failed to ease with the 8.1 that I HAVE LOW grade of 8.1 for Windows 7 (32 bit) now my all software are missing, but I can downlode my software all except pci encryption and decryption I try this software downlode by going to computer management and make a right click, but fails to update driver please give me any advice or links to how software downlode.

    Thank you
    Og2

    Hello:

    You need the driver for this device...

    Intel driver execution of the trust Interface
    Version:
  • Installation problem with cumulative SP for Visual Basic 6

    I downloaded the cumulative update for service pack 6 for Visual Basic 6. The identification number is: VB60SP6-KB957924-v2 - x 86 - enu.msi. When I run the installation I get the error message: could not access network location Tools\VB\Controls\Controls_Backup. Any advice on what to do. I have Vista Home Premium build 6001 on a laptop Dell XPS 1330 with a lot of speed and memory. Thank you

    Windows Update Forum:

    It comes with Vista, upgrade install and activate Forum.

    You will get the best help for any problem of Update/Service Pack in the Windows Update Forum; the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/threads

    When you repost here, kindly include the Error Codes, and exactly what is happening when you try to update.

    In this way, you will receive the best help.

    See you soon.

    Mick Murphy - Microsoft partner

  • Packages that do not receive encryption and decrypt IPSEC

    Hello world

    I have 2691 conencted to the Internet router and it does NAT.

    This connects to the 3550A shift that has the connection to the router 1811W.

    I have VPN installation between 1811W and 3550.

    3550 has connection to 2691 via ospf.

    OSPF is running between 1811w and 3550.

    1811

    1811w # sh crypto isakmp his

    IPv4 Crypto ISAKMP Security Association

    DST CBC conn-State id

    192.168.99.2 192.168.99.1 QM_IDLE 2005 ASSETS

    IPv6 Crypto ISAKMP Security Association

    1811w # sh crypto ipsec his

    Interface: FastEthernet0

    Tag crypto map: VPN_MAP, local addr 192.168.99.1

    protégé of the vrf: (none)

    local ident (addr, mask, prot, port): (192.168.0.0/255.255.0.0/0/0)

    Remote ident (addr, mask, prot, port): (192.168.99.0/255.255.255.0/0/0)

    current_peer 192.168.99.2 port 500

    LICENCE, flags is {origin_is_acl},

    #pkts program: encrypt 0, #pkts: 0, #pkts digest: 0

    #pkts decaps: 0, #pkts decrypt: 0, #pkts check: 0

    compressed #pkts: 0, unzipped #pkts: 0

    #pkts uncompressed: 0, #pkts compr. has failed: 0

    #pkts not unpacked: 0, #pkts decompress failed: 0

    #send 30, #recv errors 0

    local crypto endpt. : 192.168.99.1, remote Start crypto. : 192.168.99.2

    Path mtu 1500, mtu 1500 ip, ip mtu IDB FastEthernet0

    current outbound SPI: 0x0 (0)

    PFS (Y/N): N, Diffie-Hellman group: no

    SAS of the esp on arrival:

    the arrival ah sas:

    SAS of the CFP on arrival:

    outgoing esp sas:

    outgoing ah sas:

    outgoing CFP sas:

    3550A

    3550SMIA # sh crypto isakmp his

    IPv4 Crypto ISAKMP Security Association

    status of DST CBC State conn-id slot

    192.168.99.2 192.168.99.1 QM_IDLE 1001 ACTIVE

    IPv6 Crypto ISAKMP Security Association

    3550SMIA #sh cry

    3550SMIA #sh crypto ipsec his

    Interface: FastEthernet0/8

    Tag crypto map: VPN_MAP, local addr 192.168.99.2

    protégé of the vrf: (none)

    local ident (addr, mask, prot, port): (192.168.0.0/255.255.0.0/0/0)

    Remote ident (addr, mask, prot, port): (192.168.99.0/255.255.255.0/0/0)

    current_peer 192.168.99.1 port 500

    LICENCE, flags is {origin_is_acl},

    #pkts program: encrypt 0, #pkts: 0, #pkts digest: 0

    #pkts decaps: 0, #pkts decrypt: 0, #pkts check: 0

    compressed #pkts: 0, unzipped #pkts: 0

    #pkts uncompressed: 0, #pkts compr. has failed: 0

    #pkts not unpacked: 0, #pkts decompress failed: 0

    #send 15, #recv errors 0

    local crypto endpt. : 192.168.99.2, remote Start crypto. : 192.168.99.1

    Path mtu 1500, ip mtu 1500

    current outbound SPI: 0x0 (0)

    SAS of the esp on arrival:

    the arrival ah sas:

    SAS of the CFP on arrival:

    outgoing esp sas:

    As we have seen more top packets are not encrypted between 1811w and 3550.

    I used the same ACLs on 1811W and 3550A

    INTERESTING_TRAFFIC extended IP access list

    IP 192.168.0.0 allow 0.0.255.255 192.168.99.0 0.0.0.255 connect

    Reasons why packages do not encrypt and decrypt?

    Thank you

    MAhesh

    Hello

    Access-list for interesting traffic should be mirrored.

    Best regards

    Eugene

  • Packet encryption and decryption by IPSEC Tunnel

    Hello world

    You must confirm if Site A has VPN IPSEC to Site B through Public network.

    PCs on site say a package is sent in clear text to the switch, then switch sends to the VPN router.

    Router VPN to site A will make encryption and send over a WAN link encrypted.

    When the packet reaches a router B Site it will decrypt the packet and send clear text to PC right of the site B?

    Thank you

    MAhesh

    Hello Manu,

    Yes, you are right.

    Encryption and decryption will perform VPN closing devices.

    Best regards

    Eugene

  • Tracking package to decrypt the password for EBS

    Hello

    There are methods where we can decrypt the password of EBS by using some packages.

    My question is there any method that we can follow whether or not this package has been used by sending a warning to dba. I'm afraid that somehow the developers on my team running this package to decrypt the password for the Apps or Sysadmin.

    EBS 11.5.10.2
    DB 11.2.0.2

    Thank you
    Vicky

    1. you must use passwords in your instance DEV who differ from the PROD, and also to hide any sensitive data. This will reduce the problem is that a lot of people have the APPS or SYSADMIN passwords (legitimately or not)

    2. If the developers have permissions to use the API to decrypt the passwords, so they probably also permissions to create packages that will make it more difficult to follow. You must therefore ensure that the developers have only the permissions required for them to do their job

    3 oracle has long recommended implementing non-reversible hash password system to enhance the security of password FND_USER
    Note 457166.1 : new feature of the utility FNDCPASS: improving security by Non-reversible hash password

    This applies to both version 11i and Release 12

    Hope this helps

    concerning

    Mike

  • ENCRYPTION and DECRYPTION of a FILE BLOB

    Hello

    How to encrypt and decrypt a file blob. Can U please give me an example to encrypt a file BLOB?

    Thank you

    Use the DBMS_CRYPTO package...

    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_crypto.htm#ARPLS664

  • How can I get rid of a green field with a white check mark in that box covers some of my photos and on the windows for firefox icon.

    How can I get rid of a green field with a white check mark in that box covers some of my photos and on the windows for firefox icon. Edit

    Hello
    I want to thank everyone for the information, I had to uninstall Norton in order to get the green boxes deleted. Thank you once again problem fixed.

  • I had some problems with my pc, since then when I close Firefox it would not reopen unless I go to Task Manager and end the process for FF.

    I had some problems with my pc, since then when I close Firefox it would not reopen unless I go to Task Manager and end the process for FF. I uninstalled FF and re-installed and no change.
    Walt

    I have a same problem.

  • Windows 8, 32-bit: how to cancel the file history and use the USB for the sole purpose Ready Boost

    By mistake, I clicked file history on. The USB key used for ready boost is selected and that the disk is write protected. Windows 8, 32-bit: how to cancel the file history and use the USB for the sole purpose Ready Boost. I don't have an another USB suitable for ready boost.

    Hello

    You should be able to disable the history of files by using the local Group Policy Editor.  Consult this publication of the article.  Use the #2 option.

  • Is no longer, I can download and install the updates for Vista SP2. I get error 80070490

    Original title: Windows of Vista SP2 update fails.  Vista Upgrade option grayed out

    Is no longer, I can download and install the updates for Vista SP2.  I get error 80070490, who reports that Vista Service Pack 1 is no longer up-to-date.  I downloaded and installed the "System Update Readiness Tool" without change in error.  Repair Vista with DVD does not give me the upgrade option.  My SP-2 is corrupt?  Vista Service Pack 2 also went out of support?

    Kind regards

    Ed S.

    Hello

    Method 1:

    Follow the steps in troubleshooting section and check if that helps.

    You receive an error code "0 x 80070490" when you use Microsoft Update or Windows Update Web sites to install updates

    http://support.Microsoft.com/kb/958044

    Method 2:

    You can also read this article and check if it helps.

    How to uninstall Windows Vista service packs as a troubleshooting step

    http://support.Microsoft.com/kb/948537

  • Program what ever I try and open the application for the program open with after infection by the virus on Windows Vista

    Original title: day after my laptop was vista2012 virus

    my laptop was vista2012 virus, I managed to get rid of him remove the registry concerned (that I found on a website), since then im even worse problems. program what ever I try and open the request for the program to open with, and even internet Explorer does not work? I tried restoring the system from the back to the top, but they have been erased any help?

    Hi Jarnold55,

    Method 1: Run the fixit available in the article below and then check if it makes a difference

    When you run an .exe on a Windows Vista-based or Windows 7 computer file, the file may start another program

    http://support.Microsoft.com/kb/950505

    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base.
    How to back up and restore the registry in Windows

    Method 2: Run Microsoft Security scanner (MSS) to remove the infection rest of the computer

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: Infected files can be deleted from your computer; There is a chance of data loss.

  • Vista goes to 50% CPU usage and connects the computer for hours after the beginning

    Original title: Vista processor

    Stupid Vista goes to 50% CPU usage and connects the computer for hours after the start.  Cannot run anything with any request of CPU without getting bogged down and crashing.  It is not windows defender, I suspend this service and the machine is ok for another 1/2 hour, them I'm up to 50% of the CPU.  The idle process said Task Manager is > 90%, still indicates 50% CPU usage and the cooling fan looks like a 747 taking off.  Should I just pull the machine and go for Linux, or what?  Cannot run games or whatever it is, totally disgusted with vista of POS and microsoft can it Deep and do not get windows 7, it is probably worse.  Is that all I can turn off to get the same performance than, say, windows 3.1?  It would be preferable to the current situation.  MSCKMA.

    Hello

    What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
    on this machine, including those you have uninstalled (they leave leftovers behind which can cause
    strange problems).

    ----------------------------------------------------

    Follow these steps:

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
    Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
    reference (if you have a small box at the bottom left - show for all users, then check that).

    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    A quick check to see that load method 2 is - using MSCONFIG then put a list of
    those here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out what files, key of registry and other objects processes have opened.
    What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
    each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to start automatically when you start your system
    and you log in. Autoruns also shows you the full list of registry and file locations where applications can
    Configure auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    -Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
    When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
    Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
    a program that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The window
    Watcher says it all, reporting of any window created by running programs, if the window
    is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
    Updates, that leaves about Windows updates but it will not install the drivers that will be generally
    older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
    get new manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    ===========================================

    Refer to these discussions because many more excellent advice however don't forget to check your antivirus
    programs, the main drivers and BIOS update and also solve the problems with the cleanboot method
    first.

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/GP/slow_windows_performance/en-us

    Performance and Maintenance Tips
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    Explorer Windows stopped working
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/6ab02526-5071-4DCC-895F-d90202bad8b3

    Hope these helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

Maybe you are looking for

  • Can't remove number of invitation in the calendar in the dock

    I use the calendar, but I received an invitation that I accepted.  When I did he put a '1' in the upper right of the calendar in my dock.  After the date, I deleted the thought of the event that the number "1" would just leave.  It's still there and

  • Satellite C660 - cannot save it

    Hi all I buy my Toshiba Laptop 4 days ago, now when I register my product it shows: Sorry!There is no such thing as a serial number. Click here to contact your local Toshiba Support Center for assistance. But what direction even series number in the

  • The data type double in CT that is converted to PDM

    Hi allIn short, to be able to remove channels and groups of a PDM file, I convert the file to a tdm, delete channel or group storage using screws and the convert to PDM. The problem is when tdms is converted to tdm, double data types (64-bit) became

  • HP remote laptop stuck at halfway

    I have HP Pavilion dv4 series laptop. Inadvertently, the remote control on the left of the laptop has been inserted the wrong way (visible buttons) and a jammed. Any suggestions?

  • update the Ox80248015 error... number service expired

    With the help of windows XP Home Edition Version 2002, SP2... just downloaded 8... This computer is in stock for about 4 years and I was not update windows with the latest, up-to-date. I get the error message Ox80248015 (WU_E_DS_serviceexpired). Trie