Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for [old] Caesar Cipher (encryptor) by mozurin
"use strict";
function toEncrypt(text, delta)
{
return String.fromCharCode.apply(
String,
[...text].map(
c => c >= 'a' && c <= 'z'?
(c.charCodeAt() - 97 + 26 + delta) % 26 + 97 :
c.charCodeAt()
)
);
}
June 17, 2018