Is there a php implementation of the Stanford Javascript Crypto Library?
I don't think there's a port of this specific library, but you can use mcrypt and hash and openssl extensions to achieve same results.