mirror of
https://github.com/arx-research/libhalo.git
synced 2026-05-09 03:00:08 -04:00
26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
# Utility functions exposed by LibHaLo
|
|
|
|
## haloParsePublicKeys
|
|
|
|
Parse the binary blob which is returned from the dynamic URL's `static` parameter for earlier batches of tags.
|
|
|
|
**Example usage:**
|
|
```javascript
|
|
import {haloParsePublicKeys} from '@arx-research/libhalo';
|
|
|
|
let pkeys = parsePublicKeys(
|
|
"4104453D40D28E0BAA4D98AC86549DDC5FFFF5F674481A47141137F8A82CB666937A67AECE33B96E" +
|
|
"5968FF2728E8203A4B1F59465F53A9B2714733C0C4300F7662C8410463E500A08F3D237303C19069D49C20" +
|
|
"03D2A9F92EF46370BD9898BDC7C3AE9DB98FA47824E1EEBA7867C03831681FDE5F34C82247F0A0C1F2A841" +
|
|
"53DE933C963E00000000000000000000000000000000000000000000000000000000000000000000000000" +
|
|
"0000000000000000000000000000000000000000000000000000000000");
|
|
```
|
|
|
|
**Returns:**
|
|
```javascript
|
|
{
|
|
'1': '04453d40d28e0baa4d98ac86549ddc5ffff5f674481a47141137f8a82cb666937a67aece33b96e5968ff2728e8203a4b1f59465f53a9b2714733c0c4300f7662c8',
|
|
'2': '0463e500a08f3d237303c19069d49c2003d2a9f92ef46370bd9898bdc7c3ae9db98fa47824e1eeba7867c03831681fde5f34c82247f0a0c1f2a84153de933c963e'
|
|
}
|
|
```
|