Exemplo n.º 1
0
 protected function getEncryptionKey(Share $share, $passPhrase)
 {
     return KeyGen::decrypt($share->getEncryptedKey(), $share->getUser()->getPrivateKey(), $passPhrase);
 }