# Why do I get the "unable to find a common ring for all elements" error message?

import hashlib

import binascii

from sage.crypto.util import ascii_integer

bin = BinaryStrings()

k1 = hashlib.sha224(b"Nobody inspects the spammish repetition").hexdigest()

k2 = hashlib.sha224(b"Nobody inspects").hexdigest()

A = bin.encoding(k1)

B = bin.encoding(k2)

A = list(A)

B = list(B)

A = Matrix([[A],[B]])