showing error on hash function
1 view (last 30 days)
Show older comments
hash = hash('sha256', [K; Na; Nb])
Undefined function 'hash' for input arguments of type 'char'
2 Comments
Stephen23
on 10 Oct 2023
Please post a link to the documentation for a function named HASH that you think you are calling.
Dyuman Joshi
on 10 Oct 2023
In addition to Stephen's comment, you are over-writing the function by using it at as a variable name. That is not a good coding practice. Use a different variable name.
Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!