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.

example/dargon2_core_example.dart

import 'dart:ffi';

import 'package:dargon2_core/dargon2_core.dart';

void main() {
  // Create an instance of DArgon2
  final argon2 = DArgon2Native(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();
  }
}
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