pk_encrypt
Type: Function · Category: encode
Encrypt files using pubkey encryption
| Argument | Type | Description |
|---|---|---|
data |
string (required) | The data to encrypt |
signing_key |
string | Private key to sign with |
public_key |
string | Public key to encrypt with. Defaults to server public key |
scheme |
string | Encryption scheme to use. Defaults to X509. Currently supported: X509 |
Required permissions: SERVER_ADMIN
Platforms: macOS, Linux, Windows
Source: vql/parsers/crypto/pubkey.go