ciphersweet | Fast , searchable field-level encryption for PHP projects | Encryption library

 by   paragonie PHP Version: v4.3.0 License: Non-SPDX

kandi X-RAY | ciphersweet Summary

kandi X-RAY | ciphersweet Summary

ciphersweet is a PHP library typically used in Security, Encryption applications. ciphersweet has no bugs, it has no vulnerabilities and it has low support. However ciphersweet has a Non-SPDX License. You can download it from GitHub.

CipherSweet is a backend library developed by Paragon Initiative Enterprises for implementing searchable field-level encryption. Requires PHP 5.5+, although 7.2 is recommended for better performance. 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.

            kandi-support Support

              ciphersweet has a low active ecosystem.
              It has 384 star(s) with 30 fork(s). There are 14 watchers for this library.
              It had no major release in the last 12 months.
              There are 3 open issues and 43 have been closed. On average issues are closed in 95 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ciphersweet is v4.3.0

            kandi-Quality Quality

              ciphersweet has 0 bugs and 0 code smells.

            kandi-Security Security

              ciphersweet has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ciphersweet code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              ciphersweet has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              ciphersweet releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.
              It has 4411 lines of code, 281 functions and 64 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed ciphersweet and discovered the below as its top functions. This is intended to give you an instant insight into ciphersweet implemented functionality, and help decide if they suit your requirements.
            • Perform stream decryption .
            • Hash by HKDF .
            • Encrypts a stream using a CSP .
            • Calculates a BLIND index .
            • Recommendations for a population .
            • Get packed pieces .
            • Get a blind index .
            • Decrypt a message .
            • Process an array
            • Decrypts a file with a password .
            Get all kandi verified functions for this library.

            ciphersweet Key Features

            No Key Features are available at this moment for ciphersweet.

            ciphersweet Examples and Code Snippets

            No Code Snippets are available at this moment for ciphersweet.

            Community Discussions


            ciphersweet - decryptRow: getting error when trying to decrypt row
            Asked 2021-Mar-26 at 07:21

            I need some help by using the function decryptRow(). ...


            Answered 2021-Mar-24 at 23:39

            The exception is due to null being passed to decrypt() here: . Either $row[$field] contain null, or there's no such element in $row.

            Inspect it with a debugger, or add some debug statements into your catch (e.g. var_dump($rowP, $row)), then check if the data contained in $row is what you expect it to be. It's also worth checking the list of fields in $rowP->fieldsToEncrypt.



            Why can't i import ciphersweet StringProvider
            Asked 2020-Feb-11 at 03:43

            I installed ciphersweet on my server using composer but when i try to import the library i'm getting this error.



            Answered 2020-Feb-11 at 03:43

            You need to load the vendor/autoload.php in order for the installed packages to work.

            For example, add require_once __DIR__ . '/vendor/autoload.php'; to the top of your file. This will make php aware of the namespaces in your packages.

            You might need to change this if your files are not in the root directory of your application. For example, if your files are in app/ directory, those files need to use require_once __DIR__ . '/../vendor/autoload.php'

            See for more details.


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install ciphersweet

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.


            Please feel free to create an issue if you'd like to integrate CipherSweet with your software.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone paragonie/ciphersweet

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Reuse Pre-built Kits with ciphersweet

            Consider Popular Encryption Libraries


            by certbot


            by signalapp


            by unlock-music


            by keybase


            by signalapp

            Try Top Libraries by paragonie


            by paragoniePHP


            by paragoniePHP


            by paragoniePHP


            by paragoniePHP


            by paragoniePHP