Re:Crowdsourcing Bruteforcing: Help me win the EngineYard ch...
by rarestblog on Monday July 20, 2009 @05:36PM
(#715267)
You might also consider removing UTF8Encoding from SHA1 implementation, I might be wrong, but I think contest states no encoding should be used - i.e. ASCII only. If that's a care, that's a useless O(N) operation.
[ Parent
| on HN ]
Re:Crowdsourcing Bruteforcing: Help me win the EngineYard ch...
by sp332 on Tuesday July 21, 2009 @04:38AM
(#715948)
UTF8(ASCII) == ASCII
Unless you're using characters > 255, UTF-8 is identical to ASCII.
Re:Crowdsourcing Bruteforcing: Help me win the EngineYard ch...
by m_eiman on Tuesday July 21, 2009 @04:50AM
(#715955)
Actually it's UTF8(ASCII) == ASCII iff ASCII < 128, since the MSB signifies a multi-byte character.
http://en.wikipedia.org/wiki/UTF-8
Hm, on second thought UTF8(ASCII) is -always- == ASCII, since ASCII is only defined for 0-127, unless you count the extended variants :P