minimal authentication generator