strobe 1.0.4 copy "strobe: ^1.0.4" to clipboard
strobe: ^1.0.4 copied to clipboard

Strobe contains implementation of the Strobe protocol framework.

Strobe #

This repository contains an implementation of the Strobe protocol framework. See this blogpost for an explanation of what is the framework.

codecov Licence GitHub contributors Github Repo Stars GitHub Sponsors

Usage #

import 'dart:convert';
import 'dart:typed_data';
import 'package:convert/convert.dart';
import 'package:strobe/strobe.dart';

void main() {
  final Strobe s = Strobe.initStrobe('custom_hash', Security.bit128);

  final Uint8List message =
      utf8.encode('Hello, Drop a star if you like this repo!');
  s.aD(false, message); // meta = false

  // output length = 16
  // 7ce830010a697657a77b71efff657dd8
  print(hex.encode(s.prf(16)));
}

If you like this repo and found it useful, please consider donating ❤️!! Donation goes towards my tuition fees and helps me maintain strobe and other repos. Thank you so much!!

1
likes
130
pub points
25%
popularity

Publisher

verified publisherjustkawal.dev

Strobe contains implementation of the Strobe protocol framework.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

convert

More

Packages that depend on strobe