Sha256: 605953b751880632877907d029c775ee5c0532b4744373814612f2996db403ba

Contents?: true

Size: 726 Bytes

Versions: 43

Compression:

Stored size: 726 Bytes

Contents

cipher-base
===

[![Build Status](https://travis-ci.org/crypto-browserify/cipher-base.svg)](https://travis-ci.org/crypto-browserify/cipher-base)

Abstract base class to inherit from if you want to create streams implementing
the same api as node crypto streams.

Requires you to implement 2 methods `_final` and `_update`. `_update` takes a
buffer and should return a buffer, `_final` takes no arguments and should return
a buffer.


The constructor takes one argument and that is a string which if present switches
it into hash mode, i.e. the object you get from crypto.createHash or
crypto.createSign, this switches the name of the final method to be the string
you passed instead of `final` and returns `this` from update.

Version data entries

43 entries across 42 versions & 15 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/cipher-base/README.md
disco_app-0.18.0 test/dummy/node_modules/cipher-base/README.md
disco_app-0.18.2 test/dummy/node_modules/cipher-base/README.md
disco_app-0.16.1 test/dummy/node_modules/cipher-base/README.md
disco_app-0.15.2 test/dummy/node_modules/cipher-base/README.md
disco_app-0.18.4 test/dummy/node_modules/cipher-base/README.md
disco_app-0.18.1 test/dummy/node_modules/cipher-base/README.md
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/cipher-base/README.md
disco_app-0.14.0 test/dummy/node_modules/cipher-base/README.md
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/cipher-base/README.md
tang-0.2.1 spec/tang_app/node_modules/cipher-base/README.md
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/cipher-base/README.md
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/cipher-base/README.md
ruby2js-4.0.4 lib/tasks/testrails/node_modules/cipher-base/README.md
ruby2js-4.0.3 lib/tasks/testrails/node_modules/cipher-base/README.md
tang-0.2.0 spec/tang_app/node_modules/cipher-base/README.md
tang-0.1.0 spec/tang_app/node_modules/cipher-base/README.md
tang-0.0.9 spec/tang_app/node_modules/cipher-base/README.md
enju_library-0.3.8 spec/dummy/node_modules/cipher-base/README.md
ilog-0.4.1 node_modules/cipher-base/README.md