added basic encryption to bcjs example