about hash function

This is a discussion on about hash function within the C Programming forums, part of the General Programming Boards category; Hi everyone, I would like to implement a hashing program that is based on fiestel structure. the algorithm generates 64 ...

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    28

    Smile about hash function

    Hi everyone,

    I would like to implement a hashing program that is based on fiestel structure. the algorithm generates 64 bit digits hash value. it is CBC(cipher block chaining) mode. i.e initially it gets "initial vector" and the output(cipher) of the first block is passed to the second block together with a key, or simply the computation is based on as follows:

    Y0 = Ek(IV) ---initial vector
    Y1 = Ek(X1 ^ Y0)
    Y2 = Ek( X2 ^Y1)
    .
    .
    Yn = Ek(Xn ^ Yn-1)

    can anyone with previous experience of this type of algorithm give me a hint for getting me started.

    thanks in advance.

  2. #2
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    You could always try these Google search results.

    Some of the links cover:
    Block ciphers, stream ciphers, hash functions, etc
    The world is waiting. I must leave you now.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 09:18 PM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 03:39 PM
  3. Hash function
    By g_p in forum C Programming
    Replies: 1
    Last Post: 05-29-2007, 06:49 AM
  4. Change this program so it uses function??
    By stormfront in forum C Programming
    Replies: 8
    Last Post: 11-01-2005, 08:55 AM
  5. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 11:03 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21