Skip to content

Commit 759eae6

Browse files
Apply suggestions from code review
Co-authored-by: Vitor Ayres <[email protected]>
1 parent 67e7f9b commit 759eae6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/docs/plugin/biometric.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,13 @@ fn bio_auth(app_handle: tauri::AppHandle) {
215215

216216
### Biometric protected cryptography
217217

218-
To encrypt/decrypt data using an assymetric cryptography method that is protected behid the user Biometric Authentication, utilize the `biometricCipher()` method.
218+
To encrypt/decrypt data using an asymmetric cryptography method that is protected behind the user Biometric Authentication, utilize the `biometricCipher()` method.
219219

220220
<Tabs syncKey="lang">
221221

222222
<TabItem label="JavaScript">
223223

224-
```javascript ins={18}
224+
```javascript
225225
import { biometricCipher } from '@tauri-apps/plugin-biometric';
226226

227227
// Encrypts data
@@ -266,7 +266,7 @@ try {
266266

267267
<TabItem label="Rust">
268268

269-
```rust ins={21}
269+
```rust
270270
use tauri_plugin_biometric::{BiometricExt, AuthOptions};
271271

272272
fn bio_cipher(app_handle: tauri::AppHandle, original_data: Option<String>) {

0 commit comments

Comments
 (0)