Class that manages cryptography hash. It allow you to hash things using one of the implemented cyphers. (Now there’s just MD5)
p.setCypher = function (cypher)
Sets the cypher to be used. Note that this method will call library include method, meaning that the the cypher will be available only on next run.
The only available cypher at the moment is blowfish. (Rijndael comming...)
p.encode = function (str,key)
Returns the base64 encoded hash of str
Base64 encoded string