magento 2 admin password hash generator code example
Example: create admin password in magento 2
bin/magento admin:user:create --admin-user="admin2" --admin-password="admin123" --admin-email="[email protected]" --admin-firstname="Amin" --admin-lastname="Admin"