#hash #number-theory #encoding

no-std abrupt

A Rust library for cryptographic and mathematical operations

1 unstable release

0.1.0-beta.1 Jun 22, 2024

#733 in Math

MIT license

21KB
577 lines

Abrupt

Rust Package

(Cryptographic & Mathematic)

Modules

Cryptographic Operations

  1. Hash Algorithms
    • SHA-256
    • SHA-512
    • MD5
  2. Data encoding
    • Base16 (Hexadecimal)
    • Base32
    • Base64

Mathematical Utilities

  1. Array Computation
    • Summation
    • Product Calculation
    • Average Determination
    • Minimum and Maximum Value
  2. Number Theory
    • Factorial
    • Greatest Common Divisor (GCD)
    • Least Common Multiple (LCM)
    • Primality Testing
  3. Fundamental Mathematical Operations
    • Exponentiation
    • Absolute Value
    • Value Clamping

Installation

Cargo Command:

cargo add abrupt

Cargo.toml:

[dependencies]
abrupt = "0.1.0"

License

Abrupt is distributed under the MIT License. See LICENSE for details.

No runtime deps