tweak for non-zero terminated string
add a configuration to discard time the nonce