paragonie / ciphersweet

Fast, searchable field-level encryption for PHP projects
https://ciphersweet.paragonie.com
Other
438 stars 32 forks source link
encryption php searchable-encryption

CipherSweet

Build Status Static Analysis Latest Stable Version Latest Unstable Version License Downloads

CipherSweet is a backend library developed by Paragon Initiative Enterprises for implementing searchable field-level encryption.

Requires PHP 8.1 or newer.

If you want to use CipherSweet on an older version of PHP (5.5+), use CipherSweet v3.

Before adding searchable encryption support to your project, make sure you understand the appropriate threat model for your use case. At a minimum, you will want your application and database server to be running on separate cloud instances / virtual machines. (Even better: Separate bare-metal hardware.)

CipherSweet is available under the very permissive ISC License which allows you to use CipherSweet in any of your PHP projects, commercial or noncommercial, open source or proprietary, at no cost to you.

CipherSweet Features at a Glance

Installing CipherSweet

Use Composer.

composer require paragonie/ciphersweet:^4

If you're intending to use CipherSweet on an older version of PHP, use the v3 branch:

composer require paragonie/ciphersweet:^3

Using CipherSweet

Please refer to the documentation to learn how to use CipherSweet.

Security experts may be interested in the security properties of our design.

Integration Support

Please feel free to create an issue if you'd like to integrate CipherSweet with your software.

CipherSweet in Other Languages

Why "CipherSweet"?

CipherSweet was originally intended for use in SuiteCRM (a fork of the SugarCRM Community Edition) and related products, although there is nothing preventing its use in other products.

Therefore, we opted for a pun on "ciphersuite" that pays homage to the open source heritage of the project we designed this library for.

If the wordplay is too heavy, feel free to just call it "Sweet", or juxtapose the two component nouns and call it "SweetCipher" in spoken conversation.

Support Contracts

If your company uses this library in their products or services, you may be interested in purchasing a support contract from Paragon Initiative Enterprises.