PHPackages                             soatok/dhole-cryptography - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. soatok/dhole-cryptography

AbandonedArchivedLibrary[Security](/categories/security)

soatok/dhole-cryptography
=========================

Boring (dull) cryptography for furry projects (created by a dhole)

v1.2.0(3y ago)211.4k21ISCPHPPHP &gt;= 7.2

Since Mar 23Pushed 3y ago3 watchersCompare

[ Source](https://github.com/soatok/dhole-cryptography)[ Packagist](https://packagist.org/packages/soatok/dhole-cryptography)[ Fund](https://paypal.me/soatok)[ Fund](https://ko-fi.com/soatok)[ RSS](/packages/soatok-dhole-cryptography/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (5)Versions (11)Used By (1)

Dhole Cryptography
==================

[](#dhole-cryptography)

[![Build Status](https://github.com/soatok/dhole-cryptography/actions/workflows/ci.yml/badge.svg)](https://github.com/soatok/dhole-cryptography/actions)[![Static Analysis](https://github.com/soatok/dhole-cryptography/actions/workflows/psalm.yml/badge.svg)](https://github.com/soatok/dhole-cryptography/actions)[![Latest Stable Version](https://camo.githubusercontent.com/466d9382c32fc642855f2fd0b88241eb807add1569bbf35637be1ab1966ac97c/68747470733a2f2f706f7365722e707567782e6f72672f736f61746f6b2f64686f6c652d63727970746f6772617068792f762f737461626c65)](https://packagist.org/packages/soatok/dhole-cryptography)[![Latest Unstable Version](https://camo.githubusercontent.com/6013096a766ed9c3d8e839a23db30b01f8764ba06d96dc6fd25a5063a7e3e1ef/68747470733a2f2f706f7365722e707567782e6f72672f736f61746f6b2f64686f6c652d63727970746f6772617068792f762f756e737461626c65)](https://packagist.org/packages/soatok/dhole-cryptography)[![License](https://camo.githubusercontent.com/bc43746c2661d99d1f9c7b38b96f1299ba1c891c5933e8de77d4788a6342264e/68747470733a2f2f706f7365722e707567782e6f72672f736f61746f6b2f64686f6c652d63727970746f6772617068792f6c6963656e7365)](https://packagist.org/packages/soatok/dhole-cryptography)[![Downloads](https://camo.githubusercontent.com/d95d55b379989135c76be7186ca4cb96771a1e177a407fcf240ef7249e2bc39b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f61746f6b2f64686f6c652d63727970746f6772617068792e737667)](https://packagist.org/packages/soatok/dhole-cryptography)

PHP libsodium wrapper for Soatok's PHP projects. Released under the very permissive ISC license.

**Requires PHP 7.2**.

Dhole Cryptography in Other Programming Languages
-------------------------------------------------

[](#dhole-cryptography-in-other-programming-languages)

- [JavaScript (Node.js)](https://github.com/soatok/dholecrypto-js)

Installing
----------

[](#installing)

```
composer require soatok/dhole-cryptography

```

Usage
-----

[](#usage)

### Key Generation

[](#key-generation)

You can generate a random key by invoking the static `generate()` method. This is not permitted on `AsymmetricPublicKey` objects.

```
