An utility to encode strings with hashes, allowing to check their validity on decode.

Static methods

staticencode(str:String):String

Encode the given string str and return the result.

staticappend(encoded:String, str:String):String

Encode and append str to the already encoded string encoded and return the results. This is equivalent to result = encoded + HashedString.encode(str)

staticdecode(encoded:String):String

Decode the given encoded string and return the result.

Methods