Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 

README

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/

About

BLAKE2s implementation in Dart language.

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.