add real encryption
add algorithm option