yogurt

Version, currently 0.1.02 versions

github.com/636f7374/yogurt.cr

๐Ÿšง Pending - Crystal Concept Password Generator

2 stars
0 dependents
License: MIT

Nothing has been indexed for 0.1.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.

Installation

# Add this to your shard.yml
dependencies:
  yogurt:
    github: 636f7374/yogurt.cr
    version: ~> 0.1.0

Then run:

shards install

shard.yml

No shard.yml has been indexed for 0.1.0. You can read it on the repository.

Dependencies

Unknown: the shard.yml for this version has not been read yet.

README

This README is the one indexed from the repository at its latest ref, not from the tag for this version.

Description

  • It uses Sha384, Adler32, Blake2B512, HMAC, Pbkdf2 HMAC algorithms and Character Offset.
  • The internal structure is very simple, only 300 lines of code.
  • It can be used either under CommandLine or as Crystal Shard.
  • Generate (SecretKey, UserName, EmailAddress, PinCode) through MasterKey and SecureId.

Next

  • [ ] Add Spec Unit & Travis-CI Test.
  • [ ] ...

Usage

  • Simple Example
require "yogart"

secure_id = Yogart.create_secure_id value: "github"
secret_key = Yogart.create_secret_key master_key: "abc123", secure_id: secure_id, length: 20_i32, iterations: 131072_i32
user_name = Yogart.create_user_name secret_key: secret_key, secure_id: secure_id, length: 15_i32, iterations: 16384_i32
email = Yogart.create_email domain: "example.com", user_name: user_name, secure_id: secure_id, iterations: 15_i32, length: 20_i32
pin_code = Yogart.create_pin secret_key: secret_key, secure_id: secure_id, iterations: 16384_i32

Used as Shard

Add this to your application's shard.yml:

dependencies:
  yogurt:
    github: 636f7374/yogurt.cr

Installation

$ git clone https://github.com/636f7374/yogurt.cr.git
$ cd yogurt.cr && make build && make install

Development

$ make test

Credit

Contributors

NameCreatorMaintainerContributor
636f7374โˆšโˆš

License

  • MIT License