add set_int counterpart
add message encryption and starting to test it, validation failing yet