Adding tampering detection check.
Merge branch 'hotfix/0.1.9'