move encryption functions to crypto file
This commit is contained in:
parent
6aa633efc8
commit
0d9d576aa6
5 changed files with 47 additions and 43 deletions
|
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue