You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public function encrypt(string $userId, string $dataId, array $otherUserIds, array $roleNames,
VirgilPublicKeyCollection $publicKeys, string $plainText): string
i can pass empty arrays to otherUserIds and roleNames but i'm not sure how to properly initialize the publicKeys variable. We already specify the userId, aren't the public keys already known to virgil at that point for a given userid?
The text was updated successfully, but these errors were encountered:
in the documentation i have the following snippet
$cipherText = $pure->encrypt($userId, $dataId, $plainText)
as seen in https://developer.virgilsecurity.com/docs/purekit/data-encryption/per-user-encryption/
however the method in the current release is
i can pass empty arrays to otherUserIds and roleNames but i'm not sure how to properly initialize the publicKeys variable. We already specify the userId, aren't the public keys already known to virgil at that point for a given userid?
The text was updated successfully, but these errors were encountered: