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
Easily create and verify [HMAC's](https://en.wikipedia.org/wiki/HMAC) for your JSON objects to ensure data integrity and authenticity.
12
12
@@ -52,7 +52,6 @@ let verificationAfterChange = objectHmac.verifyHmac(person, key);
52
52
constobjectHmac=require('@tsmx/object-hmac');
53
53
constkey='HmacSecret-0815';
54
54
55
-
56
55
let person = {
57
56
name:'Max',
58
57
age:32,
@@ -86,7 +85,7 @@ The key to calculate the objects HMAC.
86
85
Type: `String`
87
86
Default: `__hmac`
88
87
89
-
The name of the attribute to store the HMAC value in `obj`. Make sure that the name of the attribute is not overkapping with other attributes already in use.
88
+
The name of the attribute to store the HMAC value in `obj`. Make sure that the name of the attribute is not overlapping with other attributes already in use.
0 commit comments