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

Answers (1)

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.

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!