Add controls algorithm (encrypt.js)