presence_token 0.1.0 copy "presence_token: ^0.1.0" to clipboard
presence_token: ^0.1.0 copied to clipboard

Rotating, unlinkable anonymous device tokens for privacy-preserving proximity counting. A token is derived from a random per-install seed hashed with a time window: strangers can count nearby devices [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add presence_token

With Flutter:

 $ flutter pub add presence_token

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  presence_token: ^0.1.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:presence_token/presence_token.dart';
0
likes
140
points
7
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Rotating, unlinkable anonymous device tokens for privacy-preserving proximity counting. A token is derived from a random per-install seed hashed with a time window: strangers can count nearby devices right now, but can't recognize the same device across windows, days, or link it to an identity. Pure Dart, no plugins. Extracted from the ParkerUp parking app's BLE presence beacon.

Topics

#privacy #proximity #anonymous #bluetooth #ble

License

MIT (license)

Dependencies

crypto

More

Packages that depend on presence_token