Is this library secure? Link to github repo
Here's his explanation:
Cypher does not encrypt through allocation based on mapping patterns. Cypher encryption process is completely mathematical and therefore, no pattern can be observed in the encrypted data result. Furthermore, Cypher encryption process result is not persistent, which means that encrypting a particular object with a particular key multiple times is highly unlikely to result in the same data - see demonstration below.
let data = "Cypher AAA", key = "_b7gBiG1oo"; console.log(data.encrypt(key)); // Possible OUTPUT: x%7~(yo~6}103V3I'Iv console.log(data.encrypt(key)); // Possible OUTPUT: xMeqv|D~~21c1Z'oOw console.log(data.encrypt(key)); // Possible OUTPUT: tmu~4~v|l^&X"~1I'|
I'm no expert in this field, but based on his description is seems like it can't be reversed or cracked.