decrypt master key test (work in progress)