how can i generate hash value from key

HI I want to generate hash value from key (of numbers) then this key I am going to use in block transformation in image processing.pl help me for code of calculating hash from key

Antworten (1)

Walter Roberson
Walter Roberson am 5 Sep. 2013

1 Stimme

function h = calculate_hash(key)
h = 0;
end
Hash keys are not necessarily unique or difficult to calculate. You have not given any reason why this would not be a suitable hash function.

Kategorien

Mehr zu MATLAB Coder finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by