Skip to content

Commit

Permalink
Dev Some whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jun 4, 2021
1 parent fac6844 commit 1a013ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions application/core/LSSodium.php
Expand Up @@ -22,7 +22,7 @@ public function init()
$this->checkIfKeyExists();
}
}

/**
* Check if Sodium library is installed
* @return bool
Expand Down Expand Up @@ -84,7 +84,7 @@ protected function getEncryptionSecretKey()
{
return ParagonIE_Sodium_Compat::hex2bin(Yii::app()->getConfig('encryptionsecretkey'));
}

/**
* Encrypt input data using AES256 CBC encryption
* @param unknown_type $sDataToEncrypt Data to encrypt. Could be a string or a serializable PHP object
Expand All @@ -103,7 +103,7 @@ public function encrypt($sDataToEncrypt)
return $sDataToEncrypt;
}
}

/**
*
* Decrypt encrypted string.
Expand All @@ -126,7 +126,7 @@ public function decrypt($sEncryptedString, $bReturnFalseIfError = false)
return $sEncryptedString;
}
}

/**
*
* Write encryption key to version.php config file
Expand All @@ -145,7 +145,7 @@ protected function generateEncryptionKeys()
if (empty($sEncryptionKeypair)) {
return false;
}

$sConfig = "<?php if (!defined('BASEPATH')) exit('No direct script access allowed');" . "\n"
. "/*" . "\n"
. " * LimeSurvey" . "\n"
Expand Down

0 comments on commit 1a013ec

Please sign in to comment.