Community Open Day 沖縄

  • Published on
    20-Jul-2015

  • View
    2.516

  • Download
    0

Embed Size (px)

Transcript

<ul><li><p> TouchDevelop tmyt COD 13/5/11 </p></li><li><p>about me tmyt </p><p> Xamarin 2.0 </p><p> : C++, C#, Delphi, ZSH Twitter: @tmyt Github: tmyt </p></li><li><p> TouchDevelop TouchDevelop </p><p> bit </p></li><li><p>Touch develop is </p><p> Microsoft Reserch </p><p> OK </p></li><li><p> DEMO </p></li><li><p>TouchDevelop </p><p> CISC </p><p> Store AppsExport </p></li><li><p>TouchDevelop </p><p> IntChar 53bit </p></li><li><p> TouchDevelopOAuth </p></li><li><p> TouchDevelopOAuth </p></li><li><p>OAuth </p><p> HMAC-SHA1 Authorization: OAuth </p><p> UTF-8 </p><p> Epoch Time </p></li><li><p>TouchDevelop </p><p> HMAC-SHA1 SHA1 </p><p> HMAC </p><p> Authorization: OAuth </p><p> UTF-8 </p><p> Epoch Time </p></li><li><p>TouchDevelop </p><p> SHA1 </p><p> HMAC </p><p> UTF-8 UTF-16 </p><p> Epoch Time DateTime </p></li><li><p>OAuth </p><p>1. Epoch Time 2. </p><p>3. SHA1 </p><p>4. HMAC </p><p>5. UTF-16 UTF-8 </p><p>6. OAuth </p></li><li><p>Chapter.I Epoch Time </p></li><li><p>Epoch Time </p><p> UNIX 197011 </p><p> UTC </p></li><li><p>TouchDevelop </p><p> TouchDevelop JavaScriptDate </p><p> Epoch Time </p></li><li><p>Epoch Time </p><p>1. UTC 2. 1970 </p><p>3. 36400+0 </p><p> TouchDevelop </p><p> 1 </p></li><li><p>Chapter.II </p></li><li><p> 15(10) AND 20(10) = 4(10) 15(10) OR 20(10) = 31(10) 15(10) XOR 20(10) = 27(10) </p><p> C </p></li><li><p> 2 2 </p><p>List ToBinary(int n) { var b = new List(); while (n != 0) { </p><p>b.Add(n % 2); n /= 2; </p><p>} return b.Reverse().Take(32).ToList(); </p><p>} </p></li><li><p> AND, OR, XOR, NOT </p><p> SHA1 </p><p> 30 </p></li><li><p>Chapter.III SHA1 </p></li><li><p>SHA1 </p><p> Secure Hash Algorithm SHA </p><p> 160bit </p><p> SHA1NIST2010Deprecated SHA256 </p></li><li><p>SHA1 </p><p> 64 </p><p> 8bit StepA, B, C, D4 </p><p> 32bit5160bit </p></li><li><p>TouchDevelop </p><p> AND, OR, XOR, SHR, SHL </p><p> 1610 </p><p> 33bit TouchDevelop53bit 4294967295(0xFFFFFFFF)AND </p></li><li><p>Chapter.IV HMAC </p></li><li><p>HMAC </p><p> / /</p><p> SHA1 </p></li><li><p>HMAC-SHA1 </p><p> HMACSHA1 </p><p> 0x5cXOR 0x36XOR MAC </p></li><li><p>TouchDevelop </p><p> SHA1 </p></li><li><p>Chapter.V UTF-8 </p></li><li><p>UTF-8 </p><p> UTF-8 TouchDevelopUTF-16 </p><p> OAuthUTF-8 </p><p> UTF-8 </p></li><li><p> TouchDevelopUTF-16 UTF-8INT </p><p> weburl encode UTF-16INT </p></li><li><p>UTF-16UTF-8 </p><p> UTF-8 UTF-16 void to_u8(int c) { if(c &lt; 128) chars.Add(c); else { if(c &lt; 2048) chars.Add(((c &gt;&gt; 6) &amp; 31) | 192); else { chars.Add((c &gt;&gt; 12) | 224); chars.Add(((c &gt;&gt; 6) &amp; 63) | 128); } chars.Add((c &amp; 63) | 128); } } </p></li><li><p>Chapter.VI OAuth </p></li><li><p>OAuth </p><p> Credential </p></li><li><p>OAuth </p><p> ConsumerProvider ConsumerURL </p><p> UserURL VerifierConsumer </p><p> ConsumerVerifierProvider </p><p> ProviderConsumer </p></li><li><p> OAuth C++, Java, C#, Objective-C, PHP, Perl, Ruby, </p><p> OAuth </p><p> TouchDevelop </p></li><li><p>TouchDevelop </p><p> OAuth HMAC-SHA1 Epoch Time UTF-8 </p><p> TouchDevelop</p></li><li><p>DEMO </p></li><li><p> TouchDevelop TouchDevelop </p><p> C </p></li></ul>

Recommended

View more >