Sha256: a3a325a1d50985842d3b2c26b0b77923d912b13b347a540fc961eac6bc344bb2

Contents?: true

Size: 650 Bytes

Versions: 1

Compression:

Stored size: 650 Bytes

Contents

# Conceal

Simple OpenSSL-based string encryption using a shared secret. The algorithm, initialization vector, salt, crypttext, and HMAC are all encoded into a single string
so it is easy to copy around.

## Requirements

* Ruby 1.9.3 or newer

## Installation

Add this line to your application's Gemfile:

    gem 'conceal'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install conceal

## Usage

```ruby
encrypted = Conceal.encrypt('some plaintext', key: 'your shared secret', algorithm: 'aes-256-cbc')
decrypted = Conceal.decrypt(encrypted, key: 'your shared secret')
```

## Authors

* Ben Scott (<gamepoet@gmail.com>)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
conceal-0.1.0 README.md