BOOMR.utils. MD5


Adds support for MD5 to Boomerang (as BOOMR.utils.md5).

For information on how to include this plugin, see the Building tutorial.

License

JavaScript MD5 1.0.1 https://github.com/blueimp/JavaScript-MD5

Copyright 2011, Sebastian Tschan https://blueimp.net

Licensed under the MIT license: http://www.opensource.org/licenses/MIT

Based on A JavaScript implementation of the RSA Data Security, Inc. MD5 Message Digest Algorithm, as defined in RFC 1321. Version 2.2 Copyright (C) Paul Johnston 1999 - 2009 Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet Distributed under the BSD License See http://pajhome.org.uk/crypt/md5 for more info.

Beacon Parameters

This plugin adds no parameters to the beacon.

Methods


md5(string [, key] [, raw])

Calculates the MD5 of the specified string and optional key.

Parameters:

Name Type Argument Description
string string

Input string

key string <optional>

Key

raw boolean <optional>

Whether or not to return data raw MD5 (versus hex-encoded)

Returns:

Type: string

Raw or hex-encoded MD5 of the input string and key