Sha256: 652ae14bef3cf90e8057d9807aec283a474de0281ce31025052fc24d466c6943

Contents?: true

Size: 732 Bytes

Versions: 5

Compression:

Stored size: 732 Bytes

Contents

# opentoken

Parse encrypted opentoken properties

see http://www.pingidentity.com/opentoken

## Usage

```ruby
# configure decryption with shared key
OpenToken.password = 'shared_secret_to_decrypt'

# decrypt opentoken into hash of attributes
attributes = OpenToken.decode 'opentoken-hashed-string'

# encrypt opentoken from hash of attributes
attributes = { 'subject' => 'foo', 'bar' => 'bak' }
token = OpenToken.encode attributes, OpenToken::Cipher::AES_128_CBC
```
  
## Contributing
 
* Fork the project
* Fix the issue
* Add tests
* Send me a pull request. Bonus points for topic branches.

see CONTRIBUTORS.txt for complete list of contributors.

## Copyright

Copyright (c) 2011 Socialcast Inc.
See LICENSE.txt for details.

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
opentoken-1.2.3 README.md
opentoken-newrelic-rails23-1.2.2 README.md
opentoken-1.2.2 README.md
opentoken-1.2.1 README.md
opentoken-1.2.0 README.md