Add multi encryption key support

@andreasohlund fixed