sha1

Methods

b64(value) → {String}

Base64 encodes a value.

Parameters:

NameTypeDescription
valueString

The value to encode.

Returns:

The encoded value.

hex(key, value) → {String}

Hex encodes a value.

Parameters:

NameTypeDescription
keyString

The key to use when encoding.

valueString

The value to encode.

Returns:

The encoded value.