Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mathcrypto

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathcrypto

A library of useful funtions used in cryptography. For learning purposes only.

  • 0.3.2
  • PyPI
  • Socket score

Maintainers
1

MathCrypto

MathCrypto is a library of useful funtions used in cryptography. Do not use this library for improving the security of your application, it is not safe or powerful enough to provide that.

Available functions include:

  • Multiplicative group operations
    • Generate a group from modulus including group elements and generators
    • Get inverse element any element of the group
    • Get element order of any element in group
  • Math functions
    • Number primality checks
      • Classic number modulus check
      • Fermat's primality test
    • Euler's Totient function (Phi)
    • Euclidean algorithm (GCD)
    • Simple number factorization
    • Chinese Remainder Theorem
    • Extended Euclidean Algorithm

Functions from this library can be used to solve recreational mathematics, cryptographic and programming problems.

Installation

MathCrypto is avalaible through Python Package Index (PyPI) using pip. :

foo@bar:~$ python3 -m pip install --upgrade mathcrypto

To uninstall using pip. :

foo@bar:~$ python3 -m pip uninstall mathcrypto

Documentation

You can read the full documentation here.

Development

Source code repository is available on GitHub. Feel free to contribute. Bug reports and suggestions are welcome.

License

mathcrypto is licensed under the MIT License.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc