veriform.rb Latest Version Build Status MIT licensed

Ruby implementation of Veriform: a cryptographically verifiable data serialization format inspired by Protocol Buffers, useful for things like credentials, transparency logs, and "blockchain" applications.

For more information, see the toplevel README.md.

Help and Discussion

Have questions? Want to suggest a feature or change?

Requirements

This library is tested against the following MRI versions:

  • 2.2
  • 2.3
  • 2.4

Other Ruby versions may work, but are not officially supported.

Installation

Add this line to your application's Gemfile:

gem "veriform"

And then execute:

$ bundle

Or install it yourself as:

$ gem install veriform

API

Veriform.parse

To parse a veriform message, use the Veriform.parse method:

>> Veriform.parse("\x15\x07\x02\x03\x55".b)
=> {1=>{24=>42}}

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/zcred/veriform

Copyright (c) 2017 The Zcred Developers. See LICENSE.txt for further details.