We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d7b038 commit fd0752bCopy full SHA for fd0752b
src/System.php
@@ -22,6 +22,25 @@ public function promptTouchID(string $reason): bool
22
])->successful();
23
}
24
25
+ public function canEncrypt(): bool
26
+ {
27
+ return $this->client->get('system/can-encrypt')->json('result');
28
+ }
29
+
30
+ public function encrypt(string $string): string
31
32
+ $this->client->post('system/encrypt', [
33
+ 'string' => $string,
34
+ ])->json('result');
35
36
37
+ public function decrypt(string $string): string
38
39
+ $this->client->post('system/decrypt', [
40
41
42
43
44
/**
45
* @return array<\Native\Laravel\DataObjects\Printer>
46
*/
0 commit comments