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개)

Jan
Jan 2013년 3월 18일
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.
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!

댓글을 달려면 로그인하십시오.

Walter Roberson
Walter Roberson 2013년 3월 18일
편집: Walter Roberson 2013년 3월 18일

댓글 수: 4

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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터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