add comment and change gc for cipher context
change cipher registry to store enums