Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90249 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98342 invoked from network); 7 Jan 2016 13:26:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jan 2016 13:26:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=scott@paragonie.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=scott@paragonie.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain paragonie.com from 209.85.215.41 cause and error) X-PHP-List-Original-Sender: scott@paragonie.com X-Host-Fingerprint: 209.85.215.41 mail-lf0-f41.google.com Received: from [209.85.215.41] ([209.85.215.41:35711] helo=mail-lf0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/9D-21755-F976E865 for ; Thu, 07 Jan 2016 08:26:56 -0500 Received: by mail-lf0-f41.google.com with SMTP id c192so155872823lfe.2 for ; Thu, 07 Jan 2016 05:26:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragonie-com.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to:content-type; bh=KxYLxd507T8DAPFUhBRNqiRHDh7opYgLN/6m2naMg/Q=; b=bj6J0bIoiv7na35n/XlKIdMF5I//Wy7B7CMH+wHANaHmXdVChvMK9DpY+awBAXEeIx 9YaMRTbnqRo9e07vY1qmUrBcKlyjJUt35ml0d/23fjpIPhOvWt0cKKzg3Rmxnt2YCcnW aBcJgywd6RZUUVO4vSfXxJCFO7iI0lbB1GERwf6hbm/oQs2X1e4ivtxxac2lhRk50prN 0Vc1rQJ6p8ers0b4whfNvbNJ7CgwXE2jWR25eu6wfMbZiVkGTE/f+77p3HbXrjrGQ/F3 8225eR31bLIV8AqdY60sGwnDzkaO3OLM45RdavzERtyA455PoHzR+UMXZjN4N6A+8n2l x5iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=KxYLxd507T8DAPFUhBRNqiRHDh7opYgLN/6m2naMg/Q=; b=bgRPUFChGggxwekEK/9PhAOiaE1Yu8WtiVEggwcR5+Wl212qwQa3H/+OcqF4blkFXT Q7rHU+V0O0AZSrMVVXETzZ3TtrHNzYHGvroRwgl404vbCcVrjJySpOivH+HQYTHfyphH Lb7sW1TwPjXSVNjpcME7ZINRcFhF4CnRcPKcEddfTKQ2RdJH+qW6FR9ezk0ZXUxNPAXb byroX6FfNY6nnJV+b9fYn8lAMhAoxY7dWiQlbc3U+dgPMnKChNIADcH041IkLZjIiHCo 8RX6XRLeGxLR34hVdkyxoywJ2RNsgfd9ckR+u37KMv9/fhpWavTzgwjYo+0VkD4T/X0n fINw== X-Gm-Message-State: ALoCoQkyPKXLoXAabk90wSvwJ/akYERHuE3gJAWwEO2Plk+uQYxrju1Fy5hiAq9pR18BgVrX3PV2P62qU3VrfS7uRXRofgUzyw== MIME-Version: 1.0 X-Received: by 10.25.83.193 with SMTP id h184mr17777373lfb.6.1452173212124; Thu, 07 Jan 2016 05:26:52 -0800 (PST) Received: by 10.114.160.13 with HTTP; Thu, 7 Jan 2016 05:26:52 -0800 (PST) Date: Thu, 7 Jan 2016 08:26:52 -0500 Message-ID: To: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: [RFC] Libsodium From: scott@paragonie.com (Scott Arciszewski) Hi everyone, I've updated the RFC to make libsodium a core PHP extension in 7.1, to include references to the online documentation. https://wiki.php.net/rfc/libsodium All new functions and classes would exist in the Sodium namespace. e.g. $ciphertext = \Sodium\crypto_box($message, $nonce, $keypair); This is part of an overall effort to improve PHP's cryptography; up next will be the pluggable crypto API that supports multiple backends (with a scope limited to openssl and libsodium at the time of release) but always provide conservative defaults. Then I'd like to look at deprecating ext/mcrypt back to PECL and add more hash functions to ext/hash. Scott Arciszewski Chief Development Officer Paragon Initiative Enterprises