Skip to content

krypt core API

emboss edited this page Dec 6, 2011 · 1 revision

Cryptographic primitives are the domain of the krypt-core API. It defines a Ruby interface for lower-level functionality that is used throughout the implementation of the higher-level general krypt API. Since the performance of these primitives has a large impact on the overall performance, these primitives are implemented using native code in first instance. There is a C implementation for all C-based Rubies and also a Java-based implementation to be used by JRuby.

The modularity of the krypt architecture allows users to replace or modify the parts at will. Most notably it is entirely possible to provide an alternative implementation of krypt-core in plain Ruby.

Class Hierarchy

Krypt
  Asn1
    Parser
    Template
  Cipher
  Digest
  Rsa
  Dsa
  Ec
  KeyExchange
    Dh
    Ecdh  
    Kdf
  Random
Clone this wiki locally