parent
5b09909099
commit
7d4ba56dd1
|
@ -409,7 +409,7 @@ f2 -r <span class="pl-s"><span class="pl-pds">"</span>{mtime.YYYY}{mtime.MM}{mti
|
|||
</h2>
|
||||
<div class="highlight highlight-source-shell">
|
||||
<pre>grpcurl -proto path/file.proto \
|
||||
-d <span class="pl-s"><span class="pl-pds">'</span>{"key": "value"}<span class="pl-pds">'</span></span> \
|
||||
-d <span class="pl-s"><span class="pl-pds">'</span>{"key": "value", "timestamp": "1997-04-01T00:00:00Z"}<span class="pl-pds">'</span></span> \
|
||||
internal-social.zalopay.vn:443 \
|
||||
pkg.Service/GetData</pre>
|
||||
</div>
|
||||
|
|
|
@ -56,8 +56,16 @@
|
|||
</ul>
|
||||
<p>
|
||||
<strong>MAC</strong> aka Message Authentication Code produce from key,
|
||||
message to authentication tag.
|
||||
message to authentication tag. <strong>HMAC</strong> is MAC using hash.
|
||||
</p>
|
||||
<ul>
|
||||
<li>A send B message with MAC (generate from message and A key).</li>
|
||||
<li>
|
||||
B double check message with MAC (generate from receive message and B
|
||||
key).
|
||||
</li>
|
||||
<li>A and B use same key.</li>
|
||||
</ul>
|
||||
|
||||
<div>
|
||||
Feel free to ask me via
|
||||
|
|
|
@ -326,7 +326,7 @@ instaloader +login.txt +args.txt +targets.txt
|
|||
|
||||
```sh
|
||||
grpcurl -proto path/file.proto \
|
||||
-d '{"key": "value"}' \
|
||||
-d '{"key": "value", "timestamp": "1997-04-01T00:00:00Z"}' \
|
||||
internal-social.zalopay.vn:443 \
|
||||
pkg.Service/GetData
|
||||
```
|
||||
|
|
|
@ -11,4 +11,8 @@ My notes when reading
|
|||
- Collision resistance: Can not find 2 input produce same digest.
|
||||
|
||||
**MAC** aka Message Authentication Code produce from key, message to
|
||||
authentication tag.
|
||||
authentication tag. **HMAC** is MAC using hash.
|
||||
|
||||
- A send B message with MAC (generate from message and A key).
|
||||
- B double check message with MAC (generate from receive message and B key).
|
||||
- A and B use same key.
|
||||
|
|
Loading…
Reference in New Issue