unify dencryption interfaces and model, updated unit tests to use 2048 bit keys