dargon2_core

This library generally should not be used in most contexts

This library is an umbrella library that contains all method bindings for dargon2 and dargon2_flutter's mobile components.

This library uses a given library (by dargon2 or dargon2_flutter) to create the bindings between Dart and argon2's C library. If you're using this library directly, you'll need to supply a LibLoader conforming to the class

Usage

A simple usage example:

import 'dart:ffi';

import 'package:dargon2_core/dargon2_core.dart';

void main() {
  // Create an instance of DArgon2
  final argon2 = DArgon2(TestLibLoader());
}

class TestLibLoader implements LibLoader {
  @override
  String getPath() {
    // Return the Argon2 Reference Library's path here
    throw UnimplementedError();
  }

  @override
  DynamicLibrary loadLib() {
    // Return the actual loaded DynamicLibary here
    throw UnimplementedError();
  }
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

Please mark all dargon2_core issues with [dargon2_core] prepended to the issue title

Licensing

Libraries

dargon2_core
Support for doing something awesome.