encryption.js created

w/ test for key 1