3raser Posted June 5, 2012 Share Posted June 5, 2012 Will hash(sha256, $string) always return the same length no matter what the string is? Quote Link to comment https://forums.phpfreaks.com/topic/263682-hashsha256-string-length/ Share on other sites More sharing options...
requinix Posted June 5, 2012 Share Posted June 5, 2012 Yes. "256" means there are 256 bits in the output hash. Quote Link to comment https://forums.phpfreaks.com/topic/263682-hashsha256-string-length/#findComment-1351306 Share on other sites More sharing options...
3raser Posted June 5, 2012 Author Share Posted June 5, 2012 Yes. "256" means there are 256 bits in the output hash. Ah, thank you. I was curious was 256 stood for. Quote Link to comment https://forums.phpfreaks.com/topic/263682-hashsha256-string-length/#findComment-1351308 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.