We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5dff3b8 + ddc87fc commit a34b454Copy full SHA for a34b454
examples/03_standalone.php
@@ -0,0 +1,10 @@
1
+<?php declare(strict_types=1);
2
+
3
+require_once __DIR__ . '/../vendor/autoload.php';
4
5
+use GlobyApp\HashSensitive\Hasher;
6
7
+$sensitive_keys = ['api_key'];
8
9
+$hasher = new Hasher();
10
+var_dump($hasher->scrubKeys(['api_key' => 'mysupersecretapikey'], $sensitive_keys));
0 commit comments