Converted AESCrypt to a static class