added decrypt master secret