mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
adb7a3e545
Functions for calculations with arbitrary length integers and bitsets Functions from this package are useful for number theory applications. For example, in two-keys cryptography. PR: ports/81115 Submitted by: Antonio Carlos Venancio Junior <antonio@php.net>
17 lines
713 B
Plaintext
17 lines
713 B
Plaintext
Functions from this package are useful for number theory applications.
|
|
For example, in two-keys cryptography.
|
|
|
|
See /tests/RSA.php in the package for example of simple implementation of
|
|
RSA-like cryptoalgorithm. See http://chat.finalcombat.com/vayala/big_int/ page
|
|
for more complex implementation of RSA-like crypto, which supports key
|
|
generating, encrypting/decrypting, signing and validating of sign.
|
|
|
|
The package has many bitset functions, which allow to work with arbitrary
|
|
length bitsets.
|
|
|
|
This package is much faster than bundled into PHP BCMath and consists almost
|
|
all functions, which are implemented in PHP GMP extension, but it needn't any
|
|
external libraries.
|
|
|
|
WWW: http://pecl.php.net/package/big_int/
|