GithubHelp home page GithubHelp logo

yuitsubasapapa / bbc1-lib-std Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beyond-blockchain/bbc1-lib-std

0.0 1.0 0.0 41 KB

BBc-1 library to provide common functionality to applications

License: Other

Python 100.00%

bbc1-lib-std's Introduction

Libraries for Common Functionality for Applications

Set of functionality for supporting applications

app_support_lib.py

app_support_lib.py contains utility functions and classes for application development. In particular, it provides functionality to create an application-support directory and a database class that currently supports SQLite3 only, whose files would reside in the application-support directory.

Set of functionality for ID and public key management

id_lib.py

id_lib.py contains a class whose objects provide autonomous generation of user identifiers and mapping between a set of public keys and a generated identifier. The mapping may only be updated by some designated authority (currently, just by the user represented by the identifier) in a domain. The class also provides standard means to verify that a transaction is signed by correct user or users in light of the mapping.

The following methods are provided:

  • create_user_id() to autonomously create a user identifier and its initial mapping to a set of public keys.
  • get_mapped_public_keys() to get public keys mapped to an identifier at a given time.
  • is_mapped() to see whether an identifier and a public key are (were) mapped at a given time.
  • update() to update the mapping.
  • verify_signers() to verify the correctness of signers to a transaction.

How to Use this library

At this stage (pre-version 1.0), we are in the process of re-organizing the library structures as of version 0.10 of BBc-1 towards version 1.0. When this library is ready, this README will be updated.

bbc1-lib-std's People

Contributors

ks91 avatar quvox avatar imony avatar kichinosukey avatar

Watchers

James Cloos 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.