@mikezimm/npmfunctions
Version:
Functions used in my SPFx webparts
27 lines (23 loc) • 643 B
TypeScript
/**
* See full file in C:\Users\me\OneDrive...\SharePoint
*/
export declare function encrptMeOriginalTest(str: string): string;
/**
*
function encrptMeOriginalTestX( str ) {
let result = '';
for (var i = 0; i < str.length; i++) {
let testChar = str.charAt(i);
let idx = encrpt.indexOf( testChar ) ;
//console.log( testChar, i, idx);
if ( idx === -1 ) {
result += testChar;
} else if ( isOdd(i) === true ){
result += decrpt.charAt(decrpt.length -1 - idx);
} else {
result += decrpt.charAt(idx);
}
}
return result;
}
*/