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 个评论

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.

请先登录,再进行评论。

回答(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 个评论

i m using the hash function for image steganography using edge detection method.then how i can write matlab code for this purpose.
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..
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!

请先登录,再进行评论。

4 个评论

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.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Descriptive Statistics and Insights 的更多信息

标签

提问:

2013-3-18

Community Treasure Hunt

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

Start Hunting!

Translated by