import bcrypt from 'bcryptjs';

const credentials = [
    { email: 'admin@enotary.gov', password: 'admin123', hash: '$2a$10$7srnDUJSy1OMlG.vjPC9zeQ6j/DuJbD2xe6azTlr63P/KAGLMyu/q' },
    { email: 'justice@enotary.gov', password: 'justice123', hash: '$2a$10$BBiWNtQl9Wp7iJaHAwLuWuGFhHL1PWX4W1p3D4F/M9Hb32ujztXbm' },
    { email: 'owner@notary.so', password: 'owner123', hash: '$2a$10$pk7KI5PdpcQRSpeHmhIlpOT.qDHHvS4dVWtT6Heht/6kFn.CbPA3C' }
];

async function check() {
    for (const cred of credentials) {
        const match = await bcrypt.compare(cred.password, cred.hash);
        console.log(`${cred.email}: ${match ? 'MATCH' : 'FAIL'}`);
    }
}

check();
