Search Result

Collapse
6 results in 0.0043 seconds.
Keywords
Members
Tags
hash
  •  

  • hamedpersian
    started a topic Hash function in python

    Hash function in python

    I have written some hash code and it supposed to have a 32 bits output. But i don't know how to make it 32 bit as the output. please help me with this. Here is my code:
    Code:
    import BitVector
    import io
    import math
    import struct
    
    if __name__ == "__main__":
        message = raw_input("your message:")
        f= open('file.dat','w')
        f.write(message)
        f.close()
    ...
    See more | Go to post

  • sankar2011
    started a topic Weak HashMap Summarized
    in Java

    Weak HashMap Summarized

    WeakHashMap is a topic which is misterious to many developers. Many find it very tough to understand. Others understand but cannot describe properly.
    Those who already understand WeakHashMap may ignore this topic.

    I will not try to show how it is implemented. I would like to brief in a question-answer pattern. This will give others a starting point for further reading.

    1> What is weakhashmap?

    ...
    See more | Go to post
    Last edited by zmbd; Sep 12 '13, 08:13 PM. Reason: [z{added the url tags}]

  • SHA2 Cryptographic Hash Algorithm for VBA and VBScript

    INTRODUCTION
    The Secure Hash Algorithm 2 is a series of cryptographic hash algorithms designed by the US National Security Agency (NSA) and published by the National Institute of Standards and Technology (NIST) as a government standard.

    There is currently a competition being held by NIST to find a new family of algorithms for what will be named SHA-3. These new functions may not necessarily be derived from the SHA-2 algorithms....
    See more | Go to post
    Last edited by Rabbit; Jan 29 '16, 08:47 PM. Reason: Fixed code for messages larger than 55 characters.

  • eli meli
    started a topic statement and plan "hash value"
    in DB2

    statement and plan "hash value"

    Hi.

    I am looking to query our of the db2 internal system tables the unique identifier of a SQL statement as well as the unique identifier of the execution plan. I need to see those for an active query.

    In Oracle - each sql statement has a hash_value which is a unique identifier (column hash_value in v$sql)
    in addition, each execution plan has a unique identifier called plan_hash_value (column plan_hash_value...
    See more | Go to post

  • How to compare two fields of two different files in perl

    hello!

    I need help whith perl.

    I have 2 files, i whant to open them compare one colun and if they iqual i whant to write at the 1ª file some coluns of the second file.

    Exemple:
    File 1

    2; apartamento; T2; manuel; 120.000€; Activo
    4; moradia; V4;José; 250.000€; Suspenso

    File 2
    12; manuel; arcozelo; 234567888; activo
    23; josé; Londres;0044444 44;Activo...
    See more | Go to post

  • Printing array of references to hash maps (perl newbie)

    Good Morning!

    I am a perl newbie and I think that I am struggling with references.

    I have an array of references to hashes which I am trying to print. This is what I have:

    Code:
    	for(my $i=0; $i<@input; $i++){
    		my $hash = $input[$i];
    		print "$i: \n";
    		print "\t".'$hash = ';
    		print $hash;
    		print "\n\t".'${$hash} = ';
    ...
    See more | Go to post
Working...