dargon2_core 2.1.1 copy "dargon2_core: ^2.1.1" to clipboard
dargon2_core: ^2.1.1 copied to clipboard

The bindings for argon2's C reference library. Does not include the library loading itself.

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 #

1
likes
150
pub points
46%
popularity

Publisher

verified publishertmthecoder.dev

The bindings for argon2's C reference library. Does not include the library loading itself.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dargon2_interface, ffi

More

Packages that depend on dargon2_core