crypher
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
-
Add the dependency to your
shard.yml
:dependencies: crypher: github: dscottboggs/crypher
-
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
- Fork it (https://github.com/dscottboggs/crypher/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- D. Scott Boggs - creator and maintainer
Repository
crypher
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- over 5 years ago
- May 31, 2019
License
MIT License
Links
Synced at
Thu, 21 Nov 2024 11:23:16 GMT
Languages