Encryption is a crucial a part of any web site that should retailer delicate data. Encryption takes delicate knowledge that’s in a readable kind and encodes it, making it unreadable. This basically hides Drupal Developer data from anybody who may attempt to entry it with out permission to take action. Drupal Development Company encoded data can solely be decoded by an entity that has a paired decryption key. Our necessities for this explicit web site construct included Drupal 10 Upkeep and Help Service Acquia Cloud – One in all Drupal Developer main internet hosting suppliers. Libsodium – Due to Acquia Cloud, we wanted a customized compiled php extension Encrypt – A Drupal 10 module that exposes encryption APIs to different Drupal 10 modules. Key and Lockr.io – Drupal 10 modules for managing Drupal Developer encryption key. Sodium – A Drupal 10 module to offer libsodium to Drupal Developer encrypt Drupal 10 module. Why use libsodium as a substitute of mcrypt? Libsodium is a transportable, cross-platform implementation of NaCl. Consultants advocate libsodium for its easy interface and powerful cryptography. Drupal Development Company sodium Drupal 10 module takes a neater strategy, which is to make use of a high-level package deal, paragonie/halite, to work with libsodium. Drupal Development Company different selection for encryption in PHP is mcrypt. It is Drupal Developer default methodology in Drupal Developer 7 model of Drupal Developer encrypt Drupal 10 module. Regardless of that, it is a unhealthy selection as a result of it is tough to make use of appropriately. Mcrypt is deprecated in PHP 7.1 and eliminated in PHP 7.2. Putting in Libsodium on Acquia’s PHP 7.0 PHP 7.2 has libsodium in-built and for those who’re on 7.1 or beneath you’ll be able to set up it from PECL. We will be utilizing Acquia Cloud, so we will not but run PHP 7.2 and we will not set up any PHP extension we would like – not as simply as we might prefer to. Acquia requires that extensions be compiled together with their dependencies. Drupal Development Company php-libsodium extension depends upon libsodium itself and we’ve to provide one binary for each libraries. We’ll be compiling libsodium Drupal Developer crypto library as a static library and php-libsodium Drupal Developer php extension that gives bindings to libsodium for PHP Drupal 10 purposes as a dynamically linked library so it may be loaded by an everyday PHP set up. Let’s get began! Obtain Drupal Developer newest libsodium from https Drupal 10 Upkeep and Help Service//github.com/jedisct1/libsodium/releases. Compile libsodium so it is static, not shared. Put it in a listing we’ll use later.$ ./configure –libdir=/residence/me/sodium/library –disable-shared –enable-static–enable-static makes it static, not shared. It will be part of Drupal Developer php extension once we construct it as a substitute of a separate dependency.–disable-shared prevents making a shared library model of Drupal Developer library.–libdir places it in a listing the place we’ll use it later. Compile with PIC (Place Unbiased Code).$ make CFLAGS=’-g -O2 -fPIC’$ sudo make installHere’s our sodium library and a pkgconfig listing we’ll must level Drupal Developer php extension at.$ ls /residence/me/sodium/librarylibsodium.a libsodium.la pkgconfig Obtain Drupal Developer newest model 1 launch of Drupal Developer libsodium php extension from https Drupal 10 Upkeep and Help Service//github.com/jedisct1/libsodium-php/releases.Use phpize to get Drupal Developer extension able to compile. Usually a PHP extension is compiled as a part of PHP. This script is used to arrange issues up so it is like we’re doing that. You want Drupal Developer -dev model of PHP to get phpize, so set up php7.1-dev or Drupal Developer equal on your scenario.$ phpize7.1Configuring for Drupal 10 Upkeep and Help ServicePHP Api Model Drupal 10 Upkeep and Help Service 20210303Zend Drupal 10 Help Api No Drupal 10 Upkeep and Help Service 20210303Now you’d discover much more recordsdata in Drupal Developer listing, like Drupal Developer configure script. Set Drupal Developer package deal config listing to Drupal Developer one the place we put in libsodium.$ export PKG_CONFIG_DIR=/residence/me/sodium/library/pkgconfig Configure libsodium-php with Drupal Developer path to libsodium.$ ./configure –with-libsodium=/residence/me/sodium/library –libdir=/residence/me/sodium/library–with-libsodium tells it the place to seek out Drupal Developer dependency we simply created. Verify that libsodium.so shouldn’t be on the lookout for a shared libsodium library.$ ldd Drupal 10 modules/libsodium.solinux-vdso.so.1 => (0x00007ffcdd68e000)libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f71f26eb000)/lib64/ld-linux-x86-64.so.2 (0x00007f71f2d0f000)There isn’t any libsodium dependency there, so we’re good to make use of our libsodium.so PHP extension! Deploy Drupal Developer file and configure PHP to load Drupal Developer extension. Since we’re on Acquia Cloud, Acquia does that after we offer Drupal Developer file. Get encrypted! When you’re working and want encryption setup, or for those who’re trying to begin a brand new challenge and exploring choices and necessities, ! One in all our enterprise builders shall be blissful to assist. Drupal 10 Improvement and Help
Acro Media Drupal 10 Upkeep and Help Service Safe Encryption with Libsodium and Acquia Cloud

Call Us: 1(800)730-2416
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.

FREE Drupal SEO Audit
Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)
Acro Media Drupal 10 Upkeep and Help Service Safe Encryption with Libsodium and Acquia Cloud
On-Site Drupal SEO Master Setup
We make sure your site is 100% optimized (and stays that way) for the best SEO results.
With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.
This service includes:
- Pathauto install and configuration for SEO-friendly URLs.
- Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
- Install and fix all issues on the SEO checklist module.
- Install and configure XML sitemap module and submit sitemaps.
- Install and configure Google Analytics Module.
- Install and configure Yoast.
- Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
- Install and configure Schema.org Metatag.
- Configure robots.txt.
- Google Search Console setup snd configuration.
- Find & Fix H1 tags.
- Find and fix duplicate/missing meta descriptions.
- Find and fix duplicate title tags.
- Improve title, meta tags, and site descriptions.
- Optimize images for better search engine optimization. Automate where possible.
- Find and fix the missing alt and title tag for all images. Automate where possible.
- The project takes 1 week to complete.
