dargon2_core 1.0.0 copy "dargon2_core: ^1.0.0" to clipboard
dargon2_core: ^1.0.0 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 = 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();
  }
}
1
likes
120
pub points
51%
popularity

Publisher

verified publishertmthecoder.dev

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

convert, ffi

More

Packages that depend on dargon2_core