Began recrypt functionality