sneskid Posted April 18, 2006 Share Posted April 18, 2006 What is the max length of an ASCII string that sha1 should be given?I'm assuming it's 20 characters. Link to comment https://forums.phpfreaks.com/topic/7699-sha1-max-input-length/ Share on other sites More sharing options...
ToonMariner Posted April 18, 2006 Share Posted April 18, 2006 sha1 will return a string of 20 binary pairs - so 40 characters long.but i believe you can pass a string of 'any' length to sha1 just as you can with md5. Link to comment https://forums.phpfreaks.com/topic/7699-sha1-max-input-length/#findComment-28102 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.