Commit 8c62878c authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[omemo] Remove pycrypto methods

parent 9c4bdb1d
......@@ -273,8 +273,8 @@ class OmemoState:
return result
def create_gc_msg(self, from_jid, jid, plaintext):
key = get_random_bytes(16)
iv = get_random_bytes(16)
key = os.urandom(16)
iv = os.urandom(16)
encrypted_keys = {}
room = jid
encrypted_jids = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment