Implement Hash Functions In WebAssembly Text Format

The emscripten module from C SHA256 code is much faster than the pure ES6 SHA256 code. But the emxcripten module required async initialization and explicit cleanup calls. In this article, Implement SHA256 in WebAssembly directly (with no emscripten).

Read more

Share

Implement Hash functions with C

Note about imprementing major cryptographic Hash functions(SHA256, SHA512, SHA1, MD5, RIPEMD169) with standard C11. Entire codes in gist are:

These hash are similar algorithms. Once writing one of them, writing others would be easy.

Read more

Share

Implement SHA256 algorithm in pure ECMAScript

How to implement SHA256 hash digest algorithmn in pure ECMAScript; with no platform(node.js, modern browsers) dependent APIs.

The running code is in gist:bellbind/1cfcc96514099fcebd455259b7249525.

Read more

Share

Comparing WebAssembly performance with asm.js and plain ES6

For comparing the performance of WebAssembly runtimes with others, I published on-browser programs with the same algorithm as “plain ES6”, “asm.js” and “WebAssembly” without emscripten.

Read more

Share

hugoの支援コマンド

生成と編集でのディレクトリ指定とか、複数にgithub pushとか面倒なので、 hugo用支援コマンドを作った。

Read more

Share

Hello Hugo

github pagesをhugoにした話。

Read more

Share