c# - why when creating a hash do you convert text to byte -


can please explain why 99% of time when creating hash, convert data byte[]. have been looking answer question, websites have viewed explain how create hash.

i have seen sites using stream or chars, 99% of examples convert byte[].

sorry if seems newbie question, newbie , i'm curious reason why me better understand reason.

thanks

george

hash functions operate on byte streams (or arrays). how defined.

text in cases unicode , needs transformed particular utf first before have byte representation can work with.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -