Consulting

Results 1 to 3 of 3

Thread: Solved: SHA1 Hash Functions

  1. #1
    VBAX Mentor Movian's Avatar
    Joined
    Aug 2008
    Location
    NC, USA
    Posts
    399

    Solved: SHA1 Hash Functions

    Hey,
    i have been trying to find a hashing function that will take a string value and return an SHA1 Hash and Visa Versa. However all my searches have led me to SHA256 and even then its in VB 2.0 and VB6.0 (Which i can't open )

    So does anyone know of a VBA implementation ? Specifically one that will work in access
    "From the ashes of disaster grow the roses of success" - Chitty chitty bang bang

    "I fear not the man who has 10,000 kicks practiced once. I fear the man who has 1 kick practiced 10,000 times" - Bruce Lee

  2. #2
    Moderator VBAX Master Tommy's Avatar
    Joined
    May 2004
    Location
    Houston, TX
    Posts
    1,184
    Location
    You can open a VB *.bas file or *.frm file in notepad. Just an FYI

  3. #3
    VBAX Mentor Movian's Avatar
    Joined
    Aug 2008
    Location
    NC, USA
    Posts
    399
    actualyl it ended up being a class file...

    i was just unfamiliar with class files so didn't know how to use it !!!
    lol

    amazingly this VB 6.0- code works out the box in VBA !

    http://www.veign.com/code-view.php?type=app&codeid=76


    ~EDIT!

    Dammit its only one way.....

    it will encrypt the text string in SHA1 but how do you Un Encrypt it !! ?

    i have attached the archive, as it has many other cryptographic and encrypting classes for use

    SHA256, MD5, Blowfish and many many more

    all credit to the author
    David Midkiff

    and i just now realised i was being an idiot and didn't know how hashed strings worked (and didn't know it was a 1 way encryption system!!!! LOL) so this is all finished and Problem solved
    Last edited by Movian; 10-23-2008 at 05:31 AM.
    "From the ashes of disaster grow the roses of success" - Chitty chitty bang bang

    "I fear not the man who has 10,000 kicks practiced once. I fear the man who has 1 kick practiced 10,000 times" - Bruce Lee

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •