hashlib 1.0.0-dev.4 copy "hashlib: ^1.0.0-dev.4" to clipboard
hashlib: ^1.0.0-dev.4 copied to clipboard

retracted

RFC-compliant implementations of secure hash functions in pure Dart with zero-dependencies.

hashlib #

plugin version dependencies Dart

This library contains implementation of some popular hash functions in pure Dart inspired by Python's hashlib interface.

Features #

Algorithms Supported Since
md5 ✔️ 1.0.0
sha1
sha224
sha256
sha384
sha512
blake2b
blake2s
sha3_224
sha3_256
sha3_384
sha3_512
shake_128
shake_256
pbkdf2_hmac
scrypt

Getting started #

The following import will give you access to all of the algorithms in this package.

import 'package:hashlib/hashlib.dart' as hashlib;

Usage #

Check the API Documentation for usage instruction. Examples can be found inside the example folder.

import 'package:hashlib/hashlib.dart' as hashlib;

void main() {
  final md5 = hashlib.md5("Hello World");
  print('MD5[Hello World] => $md5');
}
31
likes
0
pub points
89%
popularity

Publisher

verified publisherbitanon.dev

RFC-compliant implementations of secure hash functions in pure Dart with zero-dependencies.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on hashlib