kafe.string.encrypt

Class

Version 1.0.0

String encryption tools.

Source: dist/string-encrypt.js

Methods

md5

Encrypts a given string to md5.

md5
  • string
String

Parameters:

  • string String

Returns:

String

The encrypted value.

Example:

kafe.string.encrypt.md5('kafe is awesome.');
					// returns "1fc5f96ff478b0c37baaf27506063603"