Nodejs Utililty Methods String Encrypt

List of utility methods to do String Encrypt

Description

The list of methods to do String Encrypt are organized into topic(s).

Method

encrypt()
String.prototype.encrypt = (function () {
    var secret = {
        'p': '\u0044' ,
        '1': 'a' ,
        '3': ':)',
        '5': '\u00A5',
        '7': '\u00C6'
    };
    return function () {
...
encrypt()
String.prototype.encrypt = function(){
  var outStr = [];
  for(var i=0;i<this.length;i++){
    outStr.push(this[i].charCodeAt(0))
  return outStr.join(":");
String.prototype.decrypt = function(){
  var temp = this.split(":");
...