use memset_s on sensitive data
fix unresolved size_t
Merge pull request #402 from cgzones/memset_s

use memset_s on sensitive data