added some tests, did some work on encryption, added initializing vectors