Fixed crypto bug!