Git Product home page Git Product logo

yogurt.cr's Introduction

Yogurt.cr - Concept Password Generator

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

Name Creator Maintainer Contributor
636f7374 โˆš โˆš

License

  • MIT License

yogurt.cr's People

Contributors

636f7374 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.