move encryption functions to crypto file

This commit is contained in:
Friendika
2011-08-20 04:53:11 -07:00
parent 6aa633efc8
commit 0d9d576aa6
5 changed files with 47 additions and 43 deletions
+1
View File
@@ -141,6 +141,7 @@ function diaspora_decode($importer,$xml) {
$decrypted = mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $outer_key, $ciphertext, MCRYPT_MODE_CBC, $outer_iv);
$decrypted = pkcs5_unpad($decrypted);
/**