Port of itsdangerous lib to Erlang