internal package Foswiki::Plugins::LdapGuiPlugin::Hash
my $hasher = Package::Hash->new()
my $hash = $hasher('I am the text', 'ssha');
$hash will contain the hashed value prepended by {SSHA}. (suitable for LDAP)
Supported algorithms: ObjectMethod getHash ($text, $algorithm) → $hash ObjectMethod addAlgorithm ($algorithmName, \&algorithm) → $hash