Skip to content

PHP hash() wrapper in tag form #2088

Description

@petecooper

Is your feature request related to a problem?

Nope.

What is the feature?

A tag-powered wrapper for PHP hash() (see https://www.php.net/manual/en/function.hash.php), either in escape value(s) (ideally) or its own tag (e.g. <txp:hash algo="" data="" />).

e.g.:

<txp:title escape="sha256" />
<txp:title escape="algo-sha256" />

<txp:hash algo="sha256" data='<txp:title />' />

Edited: s/trim/escape/g.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions