Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

icure/kerberus-dart

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dart port of Kerberus

Features

  • Resolve challenge
  • Validate solution

Getting started

dart pub add kerberus

Usage

// Challenge example, usually provided by the server
Challenge challenge = Challenge(
  id: uuid.v4(),
  salts: [uuid.v4(), uuid.v4()],
  difficultyFactor: 50000,
);

// Could be an API key
String input = 'JRTFM';

// Resolve the challenge on client side
Solution solution = await resolveChallenge(
    challenge,
    input,
);

// Validate the solution on server side
var success = await validateSolution(challenge, solution, input);

print('Success: $success');

About

Kerberus is a proof of work captcha library

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.