Skip to content

Instantly share code, notes, and snippets.

<?php
// SCRAM-SHA-1 Validator PHP
//
// PHP 5.5.0 or greater required
//
// Lorenzo J. Gonzalez
// A.k.a: SpaHost
// Xmpp: djyxa@spahost.es
//
// Thanks to prosody@conference.prosody.im for helping me and repeat everytime this and this: