def encode(self, key):
        salt = self.salt or os.urandom(32).encode('base64').rstrip()
        return self.encode_w_salt(salt, key)
Encodes a user key into a particular format. The result of this method
dataset/ETHPy150Open openstack/swauth/swauth/authtypes.py/Sha512.encode