moved Encryption class into core infrastructure;
added several new extension classes to core infrastructure;