Ask Your Question

vijay's profile - activity

2024-03-10 10:01:49 +0200 received badge  Popular Question (source)
2018-04-29 16:18:45 +0200 asked a question 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]])

2018-04-29 16:18:45 +0200 asked a question TypeError: unable to find a common ring for all elements

sage: import hashlib

sage :import binascii

sage:from sage.crypto.util import ascii_integer

sage: bin = BinaryStrings()

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

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

sage: A = bin.encoding(k1)

sage: B = bin.encoding(k2)

sage: A = list(A)

sage : B = list(B)

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

2018-04-29 16:18:45 +0200 asked a question TypeError: unable to find a common ring for all elements

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]])

2018-04-29 16:18:45 +0200 asked a question 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]])