topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday October 31, 2024, 6:48 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: EncryptString / DecryptString no longer exported from the dll  (Read 16471 times)

drgreen

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
I was hoping to use your dll in my program, but i found that the functions I wished to use were no longer exported.  I wanted to use EncryptString and DecryptString. Is this a mistake or what?

It would make me a happy man if you readded them to the .def file and fixed it up  :)

Heres the latest dll I downloaded:

  Name:            MIRCRYPTION.dll
  Characteristics: 00000000
  TimeDateStamp:   41E28A34 Mon Jan 10 08:59:16 2005
  Version:         0.00
  Ordinal base:    00000001
  # of functions:  00000025
  # of Names:      00000025
Adresses of functions: 000138A8
Adresses of name Ordinals 00013970
Adresses of names: 0001390c

  Entry Pt  Ordn  Name
  00001117     1  DLLInfo
  00001153     2  LoadDll
  00001169     3  UnloadDll
  000013F8     5  mc_decrypt
  00001323     4  mc_decrypt2
  00001486     6  mc_delkey
  000014CA     7  mc_disablekey
  00001552     8  mc_displaykey
  0000150E     9  mc_enablekey
  000013B1    11  mc_encrypt
  000012DC    10  mc_encrypt2
  0000136A    12  mc_forceencrypt
  0000177F    13  mc_forcetopic
  00001615    14  mc_isdecrypting
  000015C9    15  mc_isencrypting
  000012A1    16  mc_iskeyunlocked
  00001596    17  mc_listkeys
  00001661    18  mc_md5
  00002260    19  mc_pastepad
  0000143F    20  mc_setkey
  0000126B    21  mc_setkeyfile
  00001226    22  mc_setunlockpassphrase
  00002063    23  mc_splitsay
  00001C64    24  mc_touchfile
  00001135    25  version

drgreen

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Re: EncryptString / DecryptString no longer exported from the dll
« Reply #1 on: June 08, 2005, 11:00 PM »
It would also be great if these functions supported cbc :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: EncryptString / DecryptString no longer exported from the dll
« Reply #2 on: June 08, 2005, 11:21 PM »
it seems that the main dll in the current downloads doesn't export EncryptString and DecryptString, because my .net2003 builds are somehow not exporting them.

i understand that the beta dll and also the dll in the visual studio (vc6) release subdir of the current full suite download does export them, so use either of those (or you can recompile yourself, the functions are there and the code does export them).

and they also do support already cbc mode, just add cbc: to the front of the key specified to encrypt/decrypt in cbc mode.

is call EncryptString or DecryptString with key "cbc:test"
would say encrypt or decrypt with key 'test' in cbc mode.

drgreen

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Re: EncryptString / DecryptString no longer exported from the dll
« Reply #3 on: June 08, 2005, 11:25 PM »
They are exported sorta funny in the beta dll:

         2    3 00006178 _DecryptString@16
         3    4 000061E6 _EncryptString@16
         4    5 00006254 _FreeResultString@4
         5    6 00005060 _GetVersionString@0


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: EncryptString / DecryptString no longer exported from the dll
« Reply #4 on: June 08, 2005, 11:45 PM »
you're right, seems they werent in the .def and that explains the strange name mangling in vc6 and lack of export in .net 2003.

i've uploaded new source (also includes prebuilt .dlls) with the proper .def file, and thus proper exports:
http://mircryption.s...ryption_xchatsrc.zip

drgreen

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Re: EncryptString / DecryptString no longer exported from the dll
« Reply #5 on: June 08, 2005, 11:51 PM »
 :up: awesome thanks :)