Pin Derivation
Platform-specific PIN-derivation functions.
All derivations key off the user's raw PIN and produce hex-string outputs so the caller can put the result in HTTP headers / multicast payloads without extra encoding. Implementations MUST agree byte-for-byte on the output of both methods so a token derived on one platform validates on every other — see the values of BEARER_HMAC_KEY and TOTP_WINDOW_SECONDS for the shared constants.
Platform-specific PIN-derivation functions.
All derivations key off the user's raw PIN and produce hex-string outputs so the caller can put the result in HTTP headers / multicast payloads without extra encoding. Implementations MUST agree byte-for-byte on the output of both methods so a token derived on one platform validates on every other — see the values of BEARER_HMAC_KEY and TOTP_WINDOW_SECONDS for the shared constants.
Platform-specific PIN-derivation functions.
All derivations key off the user's raw PIN and produce hex-string outputs so the caller can put the result in HTTP headers / multicast payloads without extra encoding. Implementations MUST agree byte-for-byte on the output of both methods so a token derived on one platform validates on every other — see the values of BEARER_HMAC_KEY and TOTP_WINDOW_SECONDS for the shared constants.
Platform-specific PIN-derivation functions.
All derivations key off the user's raw PIN and produce hex-string outputs so the caller can put the result in HTTP headers / multicast payloads without extra encoding. Implementations MUST agree byte-for-byte on the output of both methods so a token derived on one platform validates on every other — see the values of BEARER_HMAC_KEY and TOTP_WINDOW_SECONDS for the shared constants.
Platform-specific PIN-derivation functions.
All derivations key off the user's raw PIN and produce hex-string outputs so the caller can put the result in HTTP headers / multicast payloads without extra encoding. Implementations MUST agree byte-for-byte on the output of both methods so a token derived on one platform validates on every other — see the values of BEARER_HMAC_KEY and TOTP_WINDOW_SECONDS for the shared constants.
Functions
Returns a rolling 8-character hex token that proves the caller knows the swarm PIN without revealing it on the wire — used in multicast beacons to filter out devices that belong to a different swarm.
Returns a rolling 8-character hex token that proves the caller knows the swarm PIN without revealing it on the wire — used in multicast beacons to filter out devices that belong to a different swarm.
Returns a rolling 8-character hex token that proves the caller knows the swarm PIN without revealing it on the wire — used in multicast beacons to filter out devices that belong to a different swarm.
Returns a rolling 8-character hex token that proves the caller knows the swarm PIN without revealing it on the wire — used in multicast beacons to filter out devices that belong to a different swarm.
Returns a rolling 8-character hex token that proves the caller knows the swarm PIN without revealing it on the wire — used in multicast beacons to filter out devices that belong to a different swarm.
Returns a stable, deterministic Bearer token for a Krill server.
Returns a stable, deterministic Bearer token for a Krill server.
Returns a stable, deterministic Bearer token for a Krill server.
Returns a stable, deterministic Bearer token for a Krill server.
Returns a stable, deterministic Bearer token for a Krill server.