Giter Site home page Giter Site logo

rinminase / anidb-be Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 2.17 MB

๐Ÿ’ฌ๐Ÿณ Rin Minase's AniDB API Service utilizing the latest version of Laravel and deployed to Heroku

License: ISC License

PHP 98.07% Dockerfile 0.34% Procfile 0.01% Blade 1.58%
laravel php web-scraping docker heroku restful-api postgresql functional-testing phpunit cloudinary

anidb-be's Issues

Use API for exchange rate for summary - unit specs

Request exchange rate using the link below :

https://api.exchangeratesapi.io/latest?base=<currency>&symbols=<currency>

Where :

  • base - is the base currency to convert from
  • symbols - is the target currency to convert to (e.g. USD,GBP)

Use Argon2ID for password hashing instead of BCrypt

Use Argon2id for password hashing with as much the following parameters:

time_cost = 40
memory_cost = 128000 (128MB)
threads = 16

These values were taken from OWASP Password Storage Cheat Sheet

Target 1.5 seconds for API response time, 2 seconds at most.

Priority of changes from most to least:

  • time_cost
  • threads
  • memory_cost

Notes :
time_cost - should not be less than 2
threads - should not be less than 2, prod = 16, local = 32

Additional Optional TODO :

  • Add environmental values for these Argon parameters

References :
Choosing the right parameters for Argon2
Argon2 Parameters
OWASP Password Cheat Sheet - Argon2
Argon2 Specifications

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.