Changed encryption to sha256