Migrate paragonie/sodium_compat to TypeScript

D Converted · version 2.5.2

paragonie/sodium_compat 2.5.2 is a PHP package released under the ISC license and requires PHP ^8.1. Pext migrates it to TypeScript; its PHPUnit suite has not been run against the TypeScript output yet. It has no tracked dependencies, and 1 tracked package depends on it.

Pure PHP implementation of libsodium; uses the PHP extension if it exists

ConvertsYes
Runs on Node.jsNot yet run
Runs on BunNot yet measured
TypeScript typesNot emitted

PHPUnit results on Node.js

The original PHPUnit suite has not been run against the TypeScript output yet. This page will update once it has.

What “Converted” means

Converts cleanly to TypeScript. Test verification is pending or still climbing.

Requirements

PHP
^8.1
Extensions
None declared

As declared in the package's Composer metadata. Pext provides PHP extensions through its runtime modules.

Dependencies

No tracked dependencies.

Used by

More from paragonie

Upstream

Version
2.5.2
License
ISC
Keywords
PHP, cryptography, elliptic curve, elliptic curve cryptography, Pure-PHP cryptography, side-channel resistant, Curve25519, X25519

Migrating a codebase that uses paragonie/sodium_compat?

See how Pext migrates a real PHP application, its Composer dependencies and its test suite to TypeScript.