MD5 and SHA1 digest for RubyMotion