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

outdated

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
0
points
2.66k
downloads

Publisher

verified publishertmthecoder.dev

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dargon2_interface, ffi

More

Packages that depend on dargon2_core