Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
BLAKE2s implementation in Dart language.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Dart implementation of BLAKE2 cryptographic hash function. (Currently implements BLAKE2s variant.) Supports variable length digests, keying, salt, personalization, and tree mode; see constructor declaration. EXAMPLE import 'dart:utf'; import 'package:crypto/crypto.dart'; import 'package:blake2/blake2.dart'; var h = new BLAKE2s(); h.add(encodeUtf8("I want to hash this string")); var digest = h.close(); print(CryptoUtils.bytesToHex(digest)); TODO - documentation - BLAKE2b - tests for tree mode - publication on pub.dartlang.org. PUBLIC DOMAIN DEDICATION Written in 2013 by Dmitry Chestnykh. To the extent possible under law, the author have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. http://creativecommons.org/publicdomain/zero/1.0/