Orignal library can be found at: https://codex.wordpress.org/WordPress_Nonces
set configuration with the below methods
$config = new \Nonces\NonceGenerator();
$config->getLife(),
$config->getAlgorithm(),
$config->setSalt(),
$config->getSession(),
$config->getUserId(),
$nonce = new Nonce();
$nonce->generateNonce();
$verifier = new Nonce($input,$nonce);
$verifier->compare($nonce, $action);