refactor Asymmetric to function
hash, asymmetric, secureroom refactor