Skip to content

Instantly share code, notes, and snippets.

@nahi
Created December 6, 2011 12:49
Show Gist options
  • Save nahi/1438098 to your computer and use it in GitHub Desktop.
Save nahi/1438098 to your computer and use it in GitHub Desktop.
http://www.ruby-assn.org/ja/releases/20111025_grant.htm
(Project summary by emboss)
The goal of the krypt project is to provide a platform- and library-independent cryptography API for Ruby. Not only C-based Ruby implementations should be able to benefit from it, but there will also be an implementation for JRuby.
The focus is on providing most of the features in Ruby, while additionally offering the possibility to integrate OS- or language-specific native libraries to implement cryptographic primitives. The milestones of the grant period cover two of the major building blocks of krypt: a streaming ASN.1 parser and a Ruby DSL for parsing and encoding arbitrary ASN.1 objects - the basic building blocks of most cryptographic protocols. There will be 2 separate implementations for Java- and C-based Rubies to guarantee maximum performance, offering a Ruby interface that will be used throughout the library to implement higher-level functionality. Documentation includes RDoc, general interface documentation in the project wiki, as well as a technical specification in the form of RSpec specs.
(日本語訳 by nahi)
kryptプロジェクトの目標は、プラットフォームおよび利用ライブラリ非依存のRuby暗号APIを提供することです。C言語に基づくRuby処理系群が恩恵を受けるだけでなく、JRuby用の実装も対象に含まれます。
kryptプロジェクトは、ほとんどの機能をRubyで提供することに注力しますが、基礎となる暗号実装を提供する、OSおよび言語固有のネイティブライブラリを利用する方法も提供します。今回の助成期間では、kryptプロジェクトの2つの主要な構成要素を対象とします。主要な暗号プロトコルの基礎的な構成要素となるその2つとは、ストリーミングASN.1解析器と、ASN.1オブジェクトの解析およびエンコードのためのRuby DSLです。最大限の性能を導くため、Java言語およびC言語に基づくRuby処理系のための2つの個別ライブラリがあり、高位の機能を実装するためのRubyインターフェースを提供します。作成する文書にはRDoc文書と、インターフェース概略を示すWiki文書に加え、RSpec形式の技術仕様を含みます。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment