Data encryption: Difference between revisions
From LimeSurvey Manual
Dominikvitt (talk | contribs) No edit summary |
Dominikvitt (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Alert| | {{Alert| New LS4 feature}} | ||
Sodium library is used to provide data encryption and decryption functionality. | Sodium library is used to provide data encryption and decryption functionality for LimeSurvey. | ||
''Sodium is a modern, easy-to-use software library for encryption, decryption, signatures, password hashing and more. It is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API, and an extended API to improve usability even further. Its goal is to provide all of the core operations needed to build higher-level cryptographic tools.'' | ''Sodium is a modern, easy-to-use software library for encryption, decryption, signatures, password hashing and more. It is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API, and an extended API to improve usability even further. Its goal is to provide all of the core operations needed to build higher-level cryptographic tools.'' | ||
Line 9: | Line 9: | ||
Version 7.2.0 and newer of the PHP programming language includes the Sodium extension (referred to as ext/sodium) as a core cryptography library. Version 2 of the PHP extension in PECL is compatible with ext/sodium in PHP 7.2. | Version 7.2.0 and newer of the PHP programming language includes the Sodium extension (referred to as ext/sodium) as a core cryptography library. Version 2 of the PHP extension in PECL is compatible with ext/sodium in PHP 7.2. | ||
LimeSurvey use Sodium Compat library to bridge with different PHP versions. | |||
This library tentativeley supports PHP 5.2.4 - 7.x (latest), but officially only supports [http://https://secure.php.net/supported-versions.php titlenon-EOL'd versions of PHP]. |
Revision as of 14:35, 10 April 2019
Sodium library is used to provide data encryption and decryption functionality for LimeSurvey.
Sodium is a modern, easy-to-use software library for encryption, decryption, signatures, password hashing and more. It is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API, and an extended API to improve usability even further. Its goal is to provide all of the core operations needed to build higher-level cryptographic tools.
Sodium is cross-platforms and cross-languages. It runs on a variety of compilers and operating systems, including Windows (with MinGW or Visual Studio, x86 and x86_64), iOS and Android. Javascript and WebAssembly versions are also available and are fully supported. Bindings for all common programming languages are available and well-supported.
Version 7.2.0 and newer of the PHP programming language includes the Sodium extension (referred to as ext/sodium) as a core cryptography library. Version 2 of the PHP extension in PECL is compatible with ext/sodium in PHP 7.2.
LimeSurvey use Sodium Compat library to bridge with different PHP versions.
This library tentativeley supports PHP 5.2.4 - 7.x (latest), but officially only supports titlenon-EOL'd versions of PHP.