Skip to content

Ribelio/P2-2-RSA

Repository files navigation

CSPRNG Flask API

Instruction for our API documentation, this Flask API provides cryptographically secure pseudorandom number generation (CSPRNG) through a simple HTTP interface. The API generates random numbers using OS-specific CSPRNG mechanisms and can be easily extended or integrated into various applications. The project can also be run in Java with either RSA\GUI.java or CSPRNG\RNGUI.java.

Table of Contents

Installation

Prerequisites

  • Python 3.7+
  • pip (Python package installer)
  • (Optional) Docker if you prefer containerization

Steps

  1. Clone the repository:

    git clone REPO
    cd csprng-flask-api
  2. Create a virtual environment:

    python3 -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the dependencies:

    pip install -r requirements.txt

Usage

Running the API

To start the Flask API, simply run:

python CSPRNG\\API_connection.py.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •