Giter Club home page Giter Club logo

airfy's Introduction

Airfy

Hello, Eugene! I built this application for a code challenge.

Features

  • The app consists of two modules: Airfy.Encryptor which takes key and data and returns encryption result. The second module is Airfy itself. I decided to expand challenge a little bit so that I added command line interface to it (I didn't have experience with command line interface before);
  • This encryptor uses symmetric encryption. I decided not to fight against gpg for this simple task;
  • It uses siphash alghorhythm implementation for elixir. I found it stable & well maintained enough;
  • It's a test covered app. It has 1 test :) There is no need to cover simple pattern matched interface by big test suite;
  • It's ready to be released with exrm or distillery.

Total time it took to implement, test & document: 2 hrs 10 mins

Command line interface

./airfy --key-path priv/key.txt --message "I love elixir"

Getting started

  • mix deps.get
  • Generate key file with random content base64 /dev/urandom | head -c 1000 > priv/key.txt
  • mix escript.build
  • Run command line

airfy's People

Contributors

asiniy 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.