Monday, November 08, 2010 at 12:04 AM.

system.verbs.builtins.mainResponder.members.compareHashes

on compareHashes (hashString, password, groupName) {
	<<Compare the hash string sent in the cookie to a calculated hash derived from the password and group name stored on the server. Return true if they match, false otherwise.
		<<04/10/00; 11:54:40 AM by PBS
	
	local (expectedHash = mainResponder.members.getHash (password, groupName));
	
	if hashString == expectedHash {
		return (true)};
	
	return (false)}



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.