Calculate the secure key with SHA2 not SHA1