Skip to content
This repository has been archived by the owner on Mar 31, 2019. It is now read-only.

dchest/blake2-dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages