updated encryption demo to use autoloaded randomvalue