Using crypto algorithm enum