define(TwoFAccount::class, function (Faker $faker) { return [ 'otp_type' => 'totp', 'account' => $faker->safeEmail, 'service' => $faker->unique()->domainName, 'secret' => Base32::encodeUpper($faker->regexify('[A-Z0-9]{8}')), 'algorithm' => 'sha1', 'digits' => 6, 'period' => 30, 'icon' => '', ]; });