how can i write the MATLAB CODE for hash function & hashtble not in c++/jave only matlab code.please give me suggestion/clue.

MATLAB CODE

2 Comments

Please use a short title and provide the information in the body of the question. Note that uppercase means shouting. Therefore your current message does not look friendly and could discourage readers to answer.
detect the age of the i/p image,and use edge pixels as the hash key,read the text file & store the data in array list.the hash uses the hash key and the text data to generate a pattern.these pattern store in the array list.how i can write a MATLAB CODE for this.

Sign in to comment.

Answers (2)

Before we could suggest a "hash function", you had to define which kind of hash you are searching for: http://en.wikipedia.org/wiki/List_of_hash_functions

8 Comments

i m using the hash function for image steganography using edge detection method.then how i can write matlab code for this purpose.
What properties is that hash function required to have?
detect the age of the i/p image,and use edge pixels as the hash key,read the text file & store the data in array list.the hash uses the hash key and the text data to generate a pattern.these pattern store in the array list.how i can write a MATLAB CODE for this..
i have required a matlab algorithm for SHA algorithm?
Saying you have the SHA algorithm does not tell us anything about what properties you need your hash function to have.
Analogy:
Your stated task: "create a picture of a scene"
Your proposal: "How about if I Paint-By-Number in Crayon?"
Our response: "What kind of picture do you need to create?"
You say back: "I have to create a picture of a scene"
We reply: "What properties does your picture need to have?"
You reply: "How about if I Paint-By-Number in Crayon?"
We reply: "AGGGGH!" (Photograph? Oil painting? Lithograph? Copper Etching? Pen-and-Ink? Mural? Engrave in a single grain of rice?"
The picture has to specifically represent something indeed; more precisely, it cannot be empty.
;-)
"Create a picture of the empty scene". "Okay, here is my empty picture of the empty scene."
The NULL set is a subset of all sets :)
.. which makes it more common than what we think actually ..
Well, time to call it a night ;-)
Have a good night!

Sign in to comment.

4 Comments

i can't do it with this.it is not helpful foe me...
Why can you not do it with that? You call it with a hash key and it gives you the hash. It gives you some control over the size of the hash result. It is pure MATLAB code, with no C, C++, or Java.
u have provide me link for sha algorithm but this algo not work properly its give an error...please relpy any other mode if it is possible..mail me this id:-singhsaurabh2108ec@gmail.com
@SAURABH: It would be more efficient, if you explain which error occurs.

Sign in to comment.

Categories

Find more on Descriptive Statistics and Insights in Help Center and File Exchange

Asked:

on 18 Mar 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!