๐ฉโ๐ป Join our community of thousands of amazing developers!
For a project, I needed to make sure that a particular piece of data actually came from a specific source. There are already many packages that allow you to do this, but most are not fun or easy to use. That's why we created a new package called spatie/crypto to do this.Using spatie/crypto #Using this package, it's easy to generate a private and public key.[$privateKey, $publicKey] = (new Spatie\Crypto\RsaKeyPair())->generate(); When passing paths, the generated keys will be passed to those pat...