Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
Source commit d4db5db
  • Loading branch information
zydd committed Jan 26, 2024
0 parents commit 16b6699
Show file tree
Hide file tree
Showing 38 changed files with 5,546 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/build
/docs/generated
/pybind11
__pycache__/
.vscode/
Empty file added .nojekyll
Empty file.
1 change: 1 addition & 0 deletions _sources/front.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. include:: ../README.rst
53 changes: 53 additions & 0 deletions _sources/generated/ffrs.GF256.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
ffrs.GF256
==========


.. currentmodule:: ffrs

.. autoclass:: GF256
:members:
:show-inheritance:
:inherited-members:
:special-members: __call__, __add__, __mul__, __init__



.. rubric:: Methods

.. autosummary::
:nosignatures:

~GF256.__init__
~GF256.add
~GF256.div
~GF256.exp
~GF256.inv
~GF256.log
~GF256.mul
~GF256.mul8
~GF256.poly_add
~GF256.poly_divmod
~GF256.poly_eval
~GF256.poly_eval8
~GF256.poly_mod
~GF256.poly_mod_x_n
~GF256.poly_mul
~GF256.poly_sub
~GF256.pow
~GF256.sub





.. rubric:: Attributes

.. autosummary::

~GF256.field_elements
~GF256.poly1
~GF256.power
~GF256.prime
~GF256.primitive


36 changes: 36 additions & 0 deletions _sources/generated/ffrs.RS256.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
ffrs.RS256
==========


.. currentmodule:: ffrs

.. autoclass:: RS256
:members:
:show-inheritance:
:inherited-members:
:special-members: __call__, __add__, __mul__, __init__



.. rubric:: Methods

.. autosummary::
:nosignatures:

~RS256.__init__
~RS256.decode
~RS256.encode





.. rubric:: Attributes

.. autosummary::

~RS256.ecc_len
~RS256.generator
~RS256.gf


33 changes: 33 additions & 0 deletions _sources/generated/ffrs.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
ffrs
====

.. automodule:: ffrs











.. rubric:: Classes

.. autosummary::
:toctree:
:template: class.rst
:nosignatures:

GF256
RS256









26 changes: 26 additions & 0 deletions _sources/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.. libffrs documentation master file, created by
sphinx-quickstart on Thu Jan 18 13:59:10 2024.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
:hide-toc:

.. include:: ../README.rst

.. toctree::
:maxdepth: 4
:caption: Contents:
:hidden:

front

.. autosummary::
:toctree: ./generated
:template: module.rst
:recursive:

ffrs


.. toctree::
genindex
Loading

0 comments on commit 16b6699

Please sign in to comment.