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

Réponses (1)

Walter Roberson
Walter Roberson le 5 Sep 2013
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.

Catégories

En savoir plus sur MATLAB Coder dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by