crypher

Version, currently master branch1 version
  • master branchlatestMay 31, 2019

github.com/dscottboggs/crypher

WIP library for super-simple symmetric encryption in Crystal

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  crypher:
    github: dscottboggs/crypher
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.28.0
License
MIT
Author
D. Scott Boggs

Dependencies

This version declares no dependencies.

README

crypher

WIP library for super-simple symmetric encryption in Crystal

WORK IN PROGRESS: Do not use Crypher::Encrypter or Crypher::Decryptor yet! Only one-shot String and Slice encryption works at this stage

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      crypher:
        github: dscottboggs/crypher
  2. Run shards install

Usage

require "crypher"

context = Crypher.new
encrypted_string = "some super secret text".encrypt context
encrypted_string.decrypt context # => "some super secret text"

# Using Crypher.global context
encrypted = "some secret text".encrypt
encrypted.decrypt # => "some secret text"

Contributing

  1. Fork it (https://github.com/dscottboggs/crypher/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors