md4 0.2.0 md4: ^0.2.0 copied to clipboard
Pure-Dart implementation of the MD4 hash function
Dart MD4 implementation #
This is a simple implementation of the MD4 has function, following closely from RFC1320.
Installation #
Add this to your pubspec.yaml
(or create it):
dependencies:
md4: any
Then run the Pub Package Manager (comes with the Dart SDK):
pub install
Usage #
The MD4 class should behave just like the existing hash functions in
dart:crypto
.
import 'package:md4/md4.dart';
main() {
MD4 md4 = new MD4();
md4.add('Hello'.codeUnits);
print md4.close();
}